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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001025/0.001025, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.435/2.435, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003835, allocations: 8 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6474/0.6478, allocations: 142.4 MB / 0.9557 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001877/0.6498, allocations: 1.383 MB / 0.9571 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00176/0.6515, allocations: 1.37 MB / 0.9584 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.603e-05/0.6516, allocations: 8.156 kB / 0.9584 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.652, allocations: 79.3 kB / 0.9585 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.6521, allocations: 71.95 kB / 0.9586 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005134/0.6526, allocations: 224.5 kB / 0.9588 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.6528, allocations: 266.2 kB / 0.959 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.6529, allocations: 6.844 kB / 0.959 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.201e-05/0.653, allocations: 76.11 kB / 0.9591 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.6531, allocations: 89.45 kB / 0.9592 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.6531, allocations: 5.375 kB / 0.9592 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.6536, allocations: 363.6 kB / 0.9595 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.6537, allocations: 65.86 kB / 0.9596 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.612e-05/0.6538, allocations: 118.3 kB / 0.9597 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003054/0.6541, allocations: 262 kB / 0.96 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6541, allocations: 1.375 kB / 0.96 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6541, allocations: 0 / 0.96 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.6541, allocations: 0 / 0.96 GB, free: 4.555 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.0006713/0.6548, allocations: 0.5437 MB / 0.9605 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.6548, allocations: 9.625 kB / 0.9605 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.6549, allocations: 22.28 kB / 0.9605 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.6552, allocations: 279.4 kB / 0.9608 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.692e-05/0.6553, allocations: 68.3 kB / 0.9609 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.6553, allocations: 2.5 kB / 0.9609 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.6555, allocations: 97.19 kB / 0.9609 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.6555, allocations: 3.984 kB / 0.961 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.6555, allocations: 5.406 kB / 0.961 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6555, allocations: 3.938 kB / 0.961 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.6558, allocations: 99.31 kB / 0.9611 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002097/0.656, allocations: 251 kB / 0.9613 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/0.6574, allocations: 339.3 kB / 0.9616 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.6575, allocations: 59.73 kB / 0.9617 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.6577, allocations: 101.5 kB / 0.9618 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.6577, allocations: 39.52 kB / 0.9618 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.051e-06/0.6577, allocations: 0 / 0.9618 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.000475/0.6582, allocations: 215.4 kB / 0.962 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.6582, allocations: 52.38 kB / 0.9621 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.6584, allocations: 305.3 kB / 0.9624 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.6585, allocations: 25.7 kB / 0.9624 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.6585, allocations: 120.9 kB / 0.9625 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.6585, allocations: 26.64 kB / 0.9625 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/0.6586, allocations: 46.31 kB / 0.9626 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.6586, allocations: 333.2 kB / 0.9629 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.6589, allocations: 162.6 kB / 0.963 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.6591, allocations: 160 kB / 0.9632 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.6594, allocations: 292.2 kB / 0.9635 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.6595, allocations: 4 kB / 0.9635 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005141/0.66, allocations: 403 kB / 0.9639 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.66, allocations: 5.094 kB / 0.9639 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.66, allocations: 2.375 kB / 0.9639 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.66, allocations: 0 / 0.9639 GB, free: 1.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.6601, allocations: 25.27 kB / 0.9639 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.6601, allocations: 0 / 0.9639 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.6603, allocations: 36.47 kB / 0.9639 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.6603, allocations: 7.469 kB / 0.9639 GB, free: 1.691 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 8.092e-05/0.6604, allocations: 129.9 kB / 0.9641 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.333e-05/0.6604, allocations: 23.69 kB / 0.9641 GB, free: 1.551 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003308/0.6607, allocations: 168.7 kB / 0.9642 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.6608, allocations: 0.9375 kB / 0.9642 GB, free: 1.461 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.6608, allocations: 3.938 kB / 0.9642 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.6608, allocations: 1.281 kB / 0.9642 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.6609, allocations: 237.1 kB / 0.9645 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6609, allocations: 1.219 kB / 0.9645 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.684e-05/0.661, allocations: 27.83 kB / 0.9645 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.661, allocations: 0 / 0.9645 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.661, allocations: 1.344 kB / 0.9645 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.6611, allocations: 5 kB / 0.9645 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6611, allocations: 0 / 0.9645 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.6614, allocations: 191.6 kB / 0.9647 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.361e-05/0.6614, allocations: 111.3 kB / 0.9648 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.88e-05/0.6615, allocations: 5.438 kB / 0.9648 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.298e-05/0.6615, allocations: 7.5 kB / 0.9648 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.6616, allocations: 7.922 kB / 0.9648 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.6616, allocations: 3.375 kB / 0.9648 GB, free: 0.9492 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001302/0.6617, allocations: 199.5 kB / 0.965 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6617, allocations: 0 / 0.965 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004458/0.6622, allocations: 112.9 kB / 0.9651 GB, free: 0.8008 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.0004716/0.6627, allocations: 256.5 kB / 0.9654 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004899/0.6632, allocations: 363.9 kB / 0.9657 GB, free: 472 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.6632, allocations: 0 / 0.9657 GB, free: 472 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.6633, allocations: 59.5 kB / 0.9658 GB, free: 456 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.6636, allocations: 42.67 kB / 0.9658 GB, free: 428 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.6643, allocations: 486.4 kB / 0.9663 GB, free: 72 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.6646, allocations: 0.7401 MB / 0.967 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.299e-05/0.6647, allocations: 20.41 kB / 0.967 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.6647, allocations: 0 / 0.967 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of Templates: time 0.005616/0.6703, allocations: 3.133 MB / 0.9701 GB, free: 13.76 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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