Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 105.2 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 195.5 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.675/2.675, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 63.45 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3007, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002818/0.3035, allocations: 1.734 MB / 1.066 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.3056, allocations: 1.367 MB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.433e-05/0.3057, allocations: 4 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.306, allocations: 75.64 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.3062, allocations: 71.66 kB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006611/0.3069, allocations: 258.9 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/0.3071, allocations: 179.2 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.835e-05/0.3071, allocations: 13.48 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.3073, allocations: 83.62 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.3074, allocations: 99.59 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.3074, allocations: 4 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004993/0.308, allocations: 339.4 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.448e-05/0.308, allocations: 63.8 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.3082, allocations: 91.42 kB / 1.068 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003672/0.3085, allocations: 279.4 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.3085, allocations: 0 / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.985e-06/0.3086, allocations: 0 / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.3086, allocations: 3.938 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009211/0.3095, allocations: 0.5452 MB / 1.069 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.3095, allocations: 12.56 kB / 1.069 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.3096, allocations: 28.5 kB / 1.069 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004035/0.31, allocations: 279.7 kB / 1.069 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.3101, allocations: 67.97 kB / 1.07 GB, free: 9.453 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.3102, allocations: 4.375 kB / 1.07 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.3104, allocations: 85.78 kB / 1.07 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.3104, allocations: 3.984 kB / 1.07 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.3104, allocations: 4 kB / 1.07 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.3104, allocations: 0 / 1.07 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.3107, allocations: 103.9 kB / 1.07 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.311, allocations: 253.3 kB / 1.07 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.3124, allocations: 298.4 kB / 1.07 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001319/0.3126, allocations: 56.83 kB / 1.07 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.3127, allocations: 101.1 kB / 1.07 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3128, allocations: 34.5 kB / 1.07 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.3128, allocations: 0 / 1.07 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6): time 0.0005126/0.3133, allocations: 209.3 kB / 1.071 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.3134, allocations: 55.41 kB / 1.071 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.3137, allocations: 303.1 kB / 1.071 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.3137, allocations: 25.7 kB / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.938e-05/0.3138, allocations: 120.6 kB / 1.071 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.3138, allocations: 23.66 kB / 1.071 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.3139, allocations: 65.67 kB / 1.071 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3141, allocations: 330.8 kB / 1.072 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.3144, allocations: 155.9 kB / 1.072 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.3146, allocations: 155.9 kB / 1.072 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004317/0.315, allocations: 293.6 kB / 1.072 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.315, allocations: 0 / 1.072 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006279/0.3157, allocations: 408.7 kB / 1.073 GB, free: 6.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3157, allocations: 4 kB / 1.073 GB, free: 6.266 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.3157, allocations: 8 kB / 1.073 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3157, allocations: 0 / 1.073 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.3158, allocations: 15.98 kB / 1.073 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3159, allocations: 0 / 1.073 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.316, allocations: 31.53 kB / 1.073 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.316, allocations: 4 kB / 1.073 GB, free: 6.207 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00013/0.3161, allocations: 139.1 kB / 1.073 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.973e-05/0.3162, allocations: 27.66 kB / 1.073 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003772/0.3166, allocations: 167.3 kB / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3166, allocations: 0 / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3166, allocations: 320 / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.3166, allocations: 3.984 kB / 1.073 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.3168, allocations: 241.6 kB / 1.073 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3168, allocations: 11.94 kB / 1.073 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.43e-05/0.3169, allocations: 15.92 kB / 1.073 GB, free: 5.551 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.317, allocations: 4 kB / 1.073 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.317, allocations: 0 / 1.073 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.317, allocations: 0 / 1.073 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.317, allocations: 0 / 1.073 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003484/0.3173, allocations: 192.6 kB / 1.073 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.3174, allocations: 100.8 kB / 1.073 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.169e-05/0.3175, allocations: 7.984 kB / 1.073 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.17e-05/0.3176, allocations: 8 kB / 1.073 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.3176, allocations: 3.984 kB / 1.073 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-06/0.3176, allocations: 4 kB / 1.073 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002102/0.3178, allocations: 197.9 kB / 1.074 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3178, allocations: 4 kB / 1.074 GB, free: 5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000394/0.3182, allocations: 115.9 kB / 1.074 GB, free: 4.887 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005151/0.3188, allocations: 251 kB / 1.074 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005698/0.3193, allocations: 363.2 kB / 1.074 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3194, allocations: 0 / 1.074 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.3195, allocations: 59.97 kB / 1.074 GB, free: 4.203 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.3198, allocations: 35.06 kB / 1.074 GB, free: 4.172 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006985/0.3205, allocations: 477.8 kB / 1.075 GB, free: 3.676 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/0.3209, allocations: 0.7318 MB / 1.076 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.221e-05/0.321, allocations: 19.44 kB / 1.076 GB, free: 2.898 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/0.321, allocations: 4 kB / 1.076 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of Templates: time 0.4279/0.7489, allocations: 3.153 MB / 1.079 GB, free: 22.07 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:T,TMonotone,errMonotone,errNonMonotone,time