Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001174/0.001174, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001437/0.001437, allocations: 194.5 kB / 16.14 MB, free: 6.699 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.333/1.333, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 67.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6645/0.6658, allocations: 140.4 MB / 0.9489 GB, free: 9.129 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003143/0.669, allocations: 1.732 MB / 0.9506 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002221/0.6713, allocations: 1.399 MB / 0.952 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001476/0.6715, allocations: 3.406 kB / 0.952 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004298/0.6719, allocations: 75.38 kB / 0.9521 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.6721, allocations: 71.86 kB / 0.9521 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006407/0.6728, allocations: 225.4 kB / 0.9523 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002667/0.673, allocations: 261.5 kB / 0.9526 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.201e-05/0.6731, allocations: 16 kB / 0.9526 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.6732, allocations: 74.27 kB / 0.9527 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.6734, allocations: 94.41 kB / 0.9528 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/0.6734, allocations: 10.88 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005443/0.674, allocations: 350 kB / 0.9531 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.396e-05/0.6741, allocations: 66.47 kB / 0.9532 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.992e-05/0.6742, allocations: 84.55 kB / 0.9532 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005317/0.6747, allocations: 402.8 kB / 0.9536 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.6747, allocations: 4.984 kB / 0.9536 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6747, allocations: 0 / 0.9536 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.6747, allocations: 0 / 0.9536 GB, free: 5.645 MB / 0.7169 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.0008882/0.6756, allocations: 0.5526 MB / 0.9542 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.6757, allocations: 13.25 kB / 0.9542 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.813e-05/0.6758, allocations: 21.16 kB / 0.9542 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.6761, allocations: 283.7 kB / 0.9545 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.6762, allocations: 62.7 kB / 0.9545 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.6763, allocations: 7.375 kB / 0.9545 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.6765, allocations: 87.53 kB / 0.9546 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.6765, allocations: 0 / 0.9546 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.6765, allocations: 0 / 0.9546 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.6765, allocations: 1.25 kB / 0.9546 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002508/0.6768, allocations: 103.6 kB / 0.9547 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.677, allocations: 254.2 kB / 0.955 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.6785, allocations: 296.8 kB / 0.9553 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001288/0.6786, allocations: 65.47 kB / 0.9553 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001241/0.6787, allocations: 95.5 kB / 0.9554 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.6788, allocations: 39.62 kB / 0.9554 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.6788, allocations: 0 / 0.9554 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004792/0.6793, allocations: 210.4 kB / 0.9556 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.6793, allocations: 51.41 kB / 0.9557 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.6796, allocations: 301.3 kB / 0.956 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.6796, allocations: 29.7 kB / 0.956 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.6797, allocations: 120.6 kB / 0.9561 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.6797, allocations: 18.05 kB / 0.9561 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.33e-05/0.6798, allocations: 61.25 kB / 0.9562 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.731e-05/0.6799, allocations: 340.8 kB / 0.9565 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.6801, allocations: 156.6 kB / 0.9567 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.6803, allocations: 161.3 kB / 0.9568 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.6808, allocations: 295.6 kB / 0.9571 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.6808, allocations: 0 / 0.9571 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006531/0.6814, allocations: 399.7 kB / 0.9575 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.6815, allocations: 9.234 kB / 0.9575 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.6815, allocations: 2.094 kB / 0.9575 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.6815, allocations: 0 / 0.9575 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.6816, allocations: 15.38 kB / 0.9575 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.6816, allocations: 1.125 kB / 0.9575 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.6818, allocations: 39.2 kB / 0.9576 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.6818, allocations: 2.844 kB / 0.9576 GB, free: 2.781 MB / 0.7169 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.000115/0.6819, allocations: 126.4 kB / 0.9577 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.6819, allocations: 24.34 kB / 0.9577 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003695/0.6823, allocations: 172.2 kB / 0.9579 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.6823, allocations: 3.984 kB / 0.9579 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.6823, allocations: 1.094 kB / 0.9579 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6824, allocations: 0 / 0.9579 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.6825, allocations: 234.2 kB / 0.9581 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6825, allocations: 0 / 0.9581 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.456e-05/0.6826, allocations: 19.12 kB / 0.9581 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.6826, allocations: 5.188 kB / 0.9581 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.6827, allocations: 1.188 kB / 0.9581 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.6827, allocations: 3.984 kB / 0.9581 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6827, allocations: 0.8438 kB / 0.9581 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003589/0.683, allocations: 183.1 kB / 0.9583 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.691e-05/0.6831, allocations: 111.3 kB / 0.9584 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.6832, allocations: 1.094 kB / 0.9584 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.6833, allocations: 7.797 kB / 0.9584 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.6833, allocations: 11.27 kB / 0.9584 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.6833, allocations: 9.203 kB / 0.9584 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001864/0.6835, allocations: 197.2 kB / 0.9586 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6835, allocations: 1.031 kB / 0.9586 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005621/0.6841, allocations: 111.6 kB / 0.9587 GB, free: 1.895 MB / 0.7169 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.0006052/0.6847, allocations: 261 kB / 0.959 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005778/0.6853, allocations: 360.3 kB / 0.9593 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6853, allocations: 4 kB / 0.9593 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.6855, allocations: 57.09 kB / 0.9594 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.6858, allocations: 34.98 kB / 0.9594 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007126/0.6865, allocations: 433.8 kB / 0.9598 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.6867, allocations: 0.737 MB / 0.9605 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.81e-05/0.6868, allocations: 25.97 kB / 0.9606 GB, free: 492 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.6868, allocations: 16.31 kB / 0.9606 GB, free: 484 kB / 0.7169 GB Notification: Performance of SimCode: time 7.01e-07/0.6868, allocations: 0 / 0.9606 GB, free: 484 kB / 0.7169 GB Notification: Performance of Templates: time 0.007531/0.6944, allocations: 3.024 MB / 0.9635 GB, free: 14.97 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches