Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.008508/0.008509, allocations: 103 kB / 15.73 MB, free: 6.059 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.002118/0.002119, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.689/2.689, allocations: 461.9 MB / 0.7347 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8895/0.8909, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002802/0.8938, allocations: 1.67 MB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.8959, allocations: 1.363 MB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.8961, allocations: 7.938 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004485/0.8966, allocations: 83.58 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.8968, allocations: 75.52 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007865/0.8976, allocations: 278.5 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.8978, allocations: 187.1 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.152e-05/0.8979, allocations: 13.48 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.898, allocations: 83.62 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.8982, allocations: 87.66 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.8982, allocations: 8 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005274/0.8987, allocations: 339.4 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.8988, allocations: 71.72 kB / 1.212 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.787e-05/0.8989, allocations: 87.48 kB / 1.212 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005319/0.8995, allocations: 400.8 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8995, allocations: 0 / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8995, allocations: 0 / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.8995, allocations: 0 / 1.212 GB, free: 8.906 MB / 0.9356 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.0008994/0.9004, allocations: 0.5528 MB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.9004, allocations: 23.84 kB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.861e-05/0.9005, allocations: 20.66 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.9009, allocations: 275.7 kB / 1.213 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.9011, allocations: 67.95 kB / 1.213 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.9011, allocations: 4.375 kB / 1.213 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.9013, allocations: 85.78 kB / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.9013, allocations: 0 / 1.213 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.9013, allocations: 4 kB / 1.213 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.9013, allocations: 4 kB / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002425/0.9016, allocations: 99.92 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.9018, allocations: 249.4 kB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.9032, allocations: 298.4 kB / 1.214 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.9033, allocations: 68.81 kB / 1.214 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.9034, allocations: 101 kB / 1.214 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.9035, allocations: 38.5 kB / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.9035, allocations: 0 / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.000497/0.904, allocations: 209.3 kB / 1.214 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.904, allocations: 51.41 kB / 1.214 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.9043, allocations: 303.1 kB / 1.215 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.9043, allocations: 25.7 kB / 1.215 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.135e-05/0.9044, allocations: 124.6 kB / 1.215 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.9045, allocations: 15.72 kB / 1.215 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-05/0.9045, allocations: 65.69 kB / 1.215 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.9047, allocations: 330.8 kB / 1.215 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.9049, allocations: 151.9 kB / 1.215 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.9051, allocations: 163.7 kB / 1.216 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.9055, allocations: 289.3 kB / 1.216 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.9055, allocations: 0 / 1.216 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000512/0.906, allocations: 409 kB / 1.216 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.906, allocations: 4 kB / 1.216 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.9061, allocations: 8 kB / 1.216 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.9061, allocations: 3.984 kB / 1.216 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.161e-05/0.9062, allocations: 12 kB / 1.216 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.9062, allocations: 0 / 1.216 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.9063, allocations: 39.52 kB / 1.216 GB, free: 4.625 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.9063, allocations: 4 kB / 1.216 GB, free: 4.621 MB / 0.9356 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.0001022/0.9064, allocations: 125.8 kB / 1.216 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.292e-05/0.9065, allocations: 27.66 kB / 1.216 GB, free: 4.461 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.9068, allocations: 171.5 kB / 1.217 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.9068, allocations: 0 / 1.217 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.9068, allocations: 0 / 1.217 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.9069, allocations: 7.984 kB / 1.217 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.907, allocations: 245.4 kB / 1.217 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.9071, allocations: 0 / 1.217 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-05/0.9072, allocations: 23.92 kB / 1.217 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.9072, allocations: 0 / 1.217 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.9072, allocations: 0 / 1.217 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.9072, allocations: 320 / 1.217 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.9072, allocations: 0 / 1.217 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.9075, allocations: 200.7 kB / 1.217 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/0.9076, allocations: 104.8 kB / 1.217 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.9076, allocations: 4 kB / 1.217 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.9077, allocations: 7.984 kB / 1.217 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.9078, allocations: 0 / 1.217 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.9078, allocations: 4 kB / 1.217 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001679/0.9079, allocations: 201.9 kB / 1.217 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.908, allocations: 0 / 1.217 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003748/0.9083, allocations: 112 kB / 1.217 GB, free: 3.305 MB / 0.9356 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.0004982/0.9088, allocations: 262.9 kB / 1.218 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004967/0.9093, allocations: 363.2 kB / 1.218 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9094, allocations: 0 / 1.218 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.9095, allocations: 59.97 kB / 1.218 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.9098, allocations: 24.64 kB / 1.218 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.9104, allocations: 400.1 kB / 1.218 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.9107, allocations: 0.732 MB / 1.219 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.038e-05/0.9107, allocations: 17.08 kB / 1.219 GB, free: 1.398 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.883e-05/0.9108, allocations: 19.38 kB / 1.219 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.9108, allocations: 0 / 1.219 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of Templates: time 0.006855/0.9176, allocations: 3.2 MB / 1.222 GB, free: 14.22 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches