Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001281/0.001281, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001527/0.001527, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.689/2.689, allocations: 437.7 MB / 0.7117 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003983/0.0003984, allocations: 12 kB / 0.8722 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7426/0.743, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.001623/0.7446, allocations: 1.35 MB / 1.024 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.7465, allocations: 1.281 MB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.7466, allocations: 4 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.7469, allocations: 79.64 kB / 1.025 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.7471, allocations: 63.66 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005361/0.7476, allocations: 203.5 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.7479, allocations: 223.1 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.091e-05/0.7479, allocations: 9.484 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.748, allocations: 79.62 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.7482, allocations: 99.66 kB / 1.026 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.7482, allocations: 8 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004174/0.7486, allocations: 263.6 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.322e-05/0.7487, allocations: 71.72 kB / 1.026 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.812e-05/0.7488, allocations: 61.58 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.7491, allocations: 263.4 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.7491, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7491, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.7491, allocations: 0 / 1.026 GB, free: 11.99 MB / 0.7794 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.0007594/0.7499, allocations: 0.5256 MB / 1.027 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.75, allocations: 12.56 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.75, allocations: 23.72 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.7504, allocations: 274.5 kB / 1.027 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.7505, allocations: 63.39 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.7505, allocations: 3.953 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.7507, allocations: 89.66 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7507, allocations: 0 / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.7507, allocations: 8 kB / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.7508, allocations: 0 / 1.027 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.751, allocations: 107.9 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.7513, allocations: 261.3 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.7525, allocations: 334.3 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.7527, allocations: 60.83 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001324/0.7528, allocations: 101.1 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.7529, allocations: 38.52 kB / 1.028 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.7529, allocations: 0 / 1.028 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004742/0.7533, allocations: 221.3 kB / 1.028 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.7534, allocations: 51.41 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002837/0.7537, allocations: 299.1 kB / 1.029 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.7537, allocations: 25.7 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.7538, allocations: 124.6 kB / 1.029 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.7538, allocations: 19.66 kB / 1.029 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.7538, allocations: 4 kB / 1.029 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.754, allocations: 330.8 kB / 1.029 GB, free: 8.828 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.7542, allocations: 159.9 kB / 1.029 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.7544, allocations: 159.9 kB / 1.029 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.7546, allocations: 167.9 kB / 1.03 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.7546, allocations: 7.938 kB / 1.03 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005543/0.7552, allocations: 393.1 kB / 1.03 GB, free: 7.953 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.7552, allocations: 15.89 kB / 1.03 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.7552, allocations: 0 / 1.03 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.7552, allocations: 7.922 kB / 1.03 GB, free: 7.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.588e-05/0.7553, allocations: 16 kB / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.7554, allocations: 0 / 1.03 GB, free: 7.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.7555, allocations: 43.52 kB / 1.03 GB, free: 7.871 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.7555, allocations: 0 / 1.03 GB, free: 7.871 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.7556, allocations: 129.8 kB / 1.03 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.7556, allocations: 19.72 kB / 1.03 GB, free: 7.715 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003478/0.756, allocations: 175.3 kB / 1.03 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.756, allocations: 0 / 1.03 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.756, allocations: 0 / 1.03 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.756, allocations: 3.984 kB / 1.03 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.7562, allocations: 233.6 kB / 1.031 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7562, allocations: 0 / 1.031 GB, free: 7.254 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.743e-05/0.7563, allocations: 19.98 kB / 1.031 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.7563, allocations: 4 kB / 1.031 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.7563, allocations: 4 kB / 1.031 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.7564, allocations: 3.953 kB / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7564, allocations: 320 / 1.031 GB, free: 7.223 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.7567, allocations: 192.8 kB / 1.031 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.7568, allocations: 104.8 kB / 1.031 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/0.7568, allocations: 4 kB / 1.031 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.31e-05/0.7569, allocations: 7.984 kB / 1.031 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.7569, allocations: 7.953 kB / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.757, allocations: 0 / 1.031 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001711/0.7571, allocations: 201.9 kB / 1.031 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2e-07/0.7571, allocations: 0 / 1.031 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004011/0.7575, allocations: 111.9 kB / 1.031 GB, free: 6.57 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003183/0.7579, allocations: 187.1 kB / 1.031 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004924/0.7584, allocations: 363.3 kB / 1.032 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.7584, allocations: 0 / 1.032 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.7585, allocations: 63.91 kB / 1.032 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.7588, allocations: 36.52 kB / 1.032 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006324/0.7595, allocations: 445.5 kB / 1.032 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002643/0.7597, allocations: 0.736 MB / 1.033 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.685e-05/0.7599, allocations: 29.3 kB / 1.033 GB, free: 4.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.7599, allocations: 15.44 kB / 1.033 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.7599, allocations: 0 / 1.033 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of Templates: time 0.006221/0.7661, allocations: 2.882 MB / 1.036 GB, free: 1.805 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches