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.001023/0.001022, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008876/0.008876, allocations: 169.8 kB / 16.27 MB, free: 6.332 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.387/1.387, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.4/2.4, allocations: 390.9 MB / 0.6663 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003288/0.0003288, allocations: 8.281 kB / 0.816 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7445/0.7448, allocations: 142.4 MB / 0.955 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002024/0.7469, allocations: 1.388 MB / 0.9564 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002515/0.7494, allocations: 1.374 MB / 0.9577 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.7496, allocations: 4.062 kB / 0.9577 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.75, allocations: 79.64 kB / 0.9578 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.7502, allocations: 71.67 kB / 0.9579 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007139/0.7509, allocations: 229.3 kB / 0.9581 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003278/0.7512, allocations: 256.6 kB / 0.9584 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.211e-05/0.7513, allocations: 15.95 kB / 0.9584 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.7515, allocations: 76.02 kB / 0.9584 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.7516, allocations: 86.27 kB / 0.9585 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.7517, allocations: 4.875 kB / 0.9585 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006429/0.7523, allocations: 363.1 kB / 0.9589 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.7524, allocations: 65.86 kB / 0.9589 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.7526, allocations: 118.2 kB / 0.959 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006546/0.7532, allocations: 399.4 kB / 0.9594 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.289e-06/0.7533, allocations: 4 kB / 0.9594 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7533, allocations: 0 / 0.9594 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.7533, allocations: 1.438 kB / 0.9594 GB, free: 4.785 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.0009806/0.7543, allocations: 0.5363 MB / 0.96 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.7543, allocations: 8.969 kB / 0.96 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.032e-05/0.7544, allocations: 21.53 kB / 0.96 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.7549, allocations: 279.8 kB / 0.9603 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.755, allocations: 62.77 kB / 0.9603 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.7551, allocations: 11.56 kB / 0.9603 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.7554, allocations: 89.19 kB / 0.9604 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.7554, allocations: 1 kB / 0.9604 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.7554, allocations: 0 / 0.9604 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.7554, allocations: 0.9688 kB / 0.9604 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.7558, allocations: 107.8 kB / 0.9605 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.7561, allocations: 249.5 kB / 0.9608 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.7579, allocations: 332.6 kB / 0.9611 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.7581, allocations: 63.52 kB / 0.9611 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001597/0.7583, allocations: 100.9 kB / 0.9612 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.7583, allocations: 44.52 kB / 0.9613 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.7583, allocations: 0 / 0.9613 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006804/0.759, allocations: 215.1 kB / 0.9615 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.7591, allocations: 52.38 kB / 0.9615 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003672/0.7594, allocations: 297 kB / 0.9618 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.7595, allocations: 26.73 kB / 0.9618 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.7595, allocations: 123.7 kB / 0.962 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.7596, allocations: 25.94 kB / 0.962 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.7596, allocations: 47.97 kB / 0.962 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.565e-05/0.7597, allocations: 332.9 kB / 0.9623 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003332/0.7601, allocations: 158.6 kB / 0.9625 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.7604, allocations: 158.5 kB / 0.9626 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005656/0.761, allocations: 305 kB / 0.9629 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.761, allocations: 0 / 0.9629 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007964/0.7618, allocations: 407.9 kB / 0.9633 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7618, allocations: 4.875 kB / 0.9633 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.7619, allocations: 2.031 kB / 0.9633 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.7619, allocations: 256 / 0.9633 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.762, allocations: 16.83 kB / 0.9633 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.7621, allocations: 4 kB / 0.9633 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.7622, allocations: 41 kB / 0.9634 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.7623, allocations: 8 kB / 0.9634 GB, free: 1.934 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.0001219/0.7624, allocations: 129.8 kB / 0.9635 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.7624, allocations: 27.12 kB / 0.9635 GB, free: 1.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004876/0.7629, allocations: 168 kB / 0.9637 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.763, allocations: 1 kB / 0.9637 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.763, allocations: 1.031 kB / 0.9637 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.763, allocations: 0 / 0.9637 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002241/0.7632, allocations: 237.7 kB / 0.9639 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7632, allocations: 0.75 kB / 0.9639 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.7634, allocations: 20.73 kB / 0.964 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.7634, allocations: 0 / 0.964 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.7634, allocations: 1.281 kB / 0.964 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.7634, allocations: 5.344 kB / 0.964 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7634, allocations: 0 / 0.964 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.7639, allocations: 190.9 kB / 0.9641 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.612e-05/0.764, allocations: 115.3 kB / 0.9643 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.764, allocations: 5.344 kB / 0.9643 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.7641, allocations: 4.625 kB / 0.9643 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.7642, allocations: 11.19 kB / 0.9643 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.7642, allocations: 1.344 kB / 0.9643 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002421/0.7645, allocations: 197.2 kB / 0.9645 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7645, allocations: 0 / 0.9645 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0006797/0.7652, allocations: 113.1 kB / 0.9646 GB, free: 1.051 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.0006496/0.7658, allocations: 257.7 kB / 0.9648 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0007001/0.7665, allocations: 367.4 kB / 0.9652 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7666, allocations: 0 / 0.9652 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.7668, allocations: 59.78 kB / 0.9652 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.7673, allocations: 39.19 kB / 0.9653 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006466/0.7679, allocations: 456.8 kB / 0.9657 GB, free: 360 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.7682, allocations: 0.74 MB / 0.9664 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.835e-05/0.7683, allocations: 27.53 kB / 0.9664 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.7683, allocations: 14.53 kB / 0.9665 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7683, allocations: 0.75 kB / 0.9665 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.006508/0.7748, allocations: 2.994 MB / 0.9694 GB, free: 14.11 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