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.00156/0.00156, allocations: 100.1 kB / 15.88 MB, free: 4 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.001851/0.001851, allocations: 200.4 kB / 16.8 MB, free: 6.82 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.368/1.368, allocations: 222.9 MB / 240.5 MB, free: 4.637 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.381/2.381, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 67.89 kB / 0.8125 GB, free: 14.93 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6525, allocations: 140.4 MB / 0.9496 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003/0.6556, allocations: 1.73 MB / 0.9513 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001744/0.6573, allocations: 1.407 MB / 0.9526 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.6574, allocations: 6.875 kB / 0.9526 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.6578, allocations: 71.25 kB / 0.9527 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.658, allocations: 71.8 kB / 0.9528 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005335/0.6585, allocations: 224.6 kB / 0.953 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000209/0.6587, allocations: 262.9 kB / 0.9532 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.996e-05/0.6588, allocations: 11.84 kB / 0.9533 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.6589, allocations: 78.12 kB / 0.9533 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.659, allocations: 82.55 kB / 0.9534 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.659, allocations: 9.094 kB / 0.9534 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004981/0.6596, allocations: 351.8 kB / 0.9538 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.958e-05/0.6596, allocations: 74.22 kB / 0.9538 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.576e-05/0.6597, allocations: 85.02 kB / 0.9539 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003242/0.6601, allocations: 265.8 kB / 0.9542 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6601, allocations: 4 kB / 0.9542 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6601, allocations: 1.219 kB / 0.9542 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.6601, allocations: 0 / 0.9542 GB, free: 5.871 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.0007525/0.6609, allocations: 0.5597 MB / 0.9547 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.6609, allocations: 8.625 kB / 0.9547 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.658e-05/0.661, allocations: 25.94 kB / 0.9547 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003225/0.6613, allocations: 275 kB / 0.955 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-05/0.6614, allocations: 63.78 kB / 0.9551 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.6614, allocations: 6.047 kB / 0.9551 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.6616, allocations: 95.75 kB / 0.9552 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.6617, allocations: 3.984 kB / 0.9552 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.6617, allocations: 1.062 kB / 0.9552 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.6617, allocations: 5.375 kB / 0.9552 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002416/0.6619, allocations: 98.16 kB / 0.9553 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.6621, allocations: 254 kB / 0.9555 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.6635, allocations: 297.6 kB / 0.9558 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.6637, allocations: 62.11 kB / 0.9559 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.6638, allocations: 99.27 kB / 0.9559 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.342e-05/0.6638, allocations: 35.81 kB / 0.956 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.6638, allocations: 4 kB / 0.956 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004891/0.6643, allocations: 201.2 kB / 0.9562 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.6644, allocations: 52.69 kB / 0.9562 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.6646, allocations: 305.5 kB / 0.9565 GB, free: 4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.6646, allocations: 29.7 kB / 0.9565 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.6647, allocations: 124.3 kB / 0.9567 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.6647, allocations: 11.66 kB / 0.9567 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.6648, allocations: 63.45 kB / 0.9567 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.6649, allocations: 332.9 kB / 0.9571 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.6651, allocations: 168.6 kB / 0.9572 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002007/0.6653, allocations: 164.9 kB / 0.9574 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003695/0.6657, allocations: 292 kB / 0.9577 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.6657, allocations: 0 / 0.9577 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005399/0.6662, allocations: 399.5 kB / 0.958 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.6662, allocations: 5.25 kB / 0.958 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.6663, allocations: 2.031 kB / 0.958 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.6663, allocations: 0 / 0.958 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.6664, allocations: 16.14 kB / 0.9581 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.6664, allocations: 3.938 kB / 0.9581 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.6665, allocations: 36 kB / 0.9581 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.6666, allocations: 10.69 kB / 0.9581 GB, free: 2.992 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.301e-05/0.6666, allocations: 130.9 kB / 0.9582 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.6667, allocations: 23.25 kB / 0.9582 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003616/0.667, allocations: 160.6 kB / 0.9584 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.6671, allocations: 1.156 kB / 0.9584 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.6671, allocations: 4 kB / 0.9584 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.6671, allocations: 0 / 0.9584 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.6673, allocations: 234.1 kB / 0.9586 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6673, allocations: 1.125 kB / 0.9586 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.44e-05/0.6674, allocations: 26.2 kB / 0.9587 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.6674, allocations: 1.344 kB / 0.9587 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.6674, allocations: 0.875 kB / 0.9587 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.6674, allocations: 3.984 kB / 0.9587 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6674, allocations: 1 kB / 0.9587 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.6677, allocations: 182.9 kB / 0.9588 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.6678, allocations: 108.4 kB / 0.9589 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.6678, allocations: 9.297 kB / 0.959 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.021e-05/0.6679, allocations: 6.125 kB / 0.959 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.668, allocations: 11.52 kB / 0.959 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.668, allocations: 2.125 kB / 0.959 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000159/0.6681, allocations: 197.2 kB / 0.9592 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6681, allocations: 3.938 kB / 0.9592 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004441/0.6686, allocations: 112.8 kB / 0.9593 GB, free: 2.109 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.0004736/0.6691, allocations: 260.3 kB / 0.9595 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004935/0.6696, allocations: 356 kB / 0.9599 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6696, allocations: 0 / 0.9599 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.6697, allocations: 58.12 kB / 0.9599 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.67, allocations: 42.8 kB / 0.96 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005982/0.6706, allocations: 468.6 kB / 0.9604 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.6708, allocations: 0.7367 MB / 0.9611 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.6709, allocations: 16.59 kB / 0.9611 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.6709, allocations: 0 / 0.9611 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of Templates: time 0.005433/0.6763, allocations: 3.157 MB / 0.9642 GB, free: 15.07 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