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.007699/0.0077, allocations: 101.8 kB / 15.73 MB, free: 5.992 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.001748/0.001748, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.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.376/2.376, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 59.91 kB / 0.9508 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9796/0.9808, allocations: 140.4 MB / 1.088 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003321/0.9842, allocations: 1.675 MB / 1.09 GB, free: 4.594 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002284/0.9865, allocations: 1.36 MB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.9867, allocations: 4.469 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.9872, allocations: 81.88 kB / 1.091 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.9873, allocations: 74.97 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009361/0.9883, allocations: 285.6 kB / 1.091 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003027/0.9886, allocations: 186.4 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.302e-05/0.9887, allocations: 16.95 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.9888, allocations: 85.73 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001609/0.989, allocations: 86.61 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.989, allocations: 6.875 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000682/0.9897, allocations: 339.6 kB / 1.092 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.9899, allocations: 65.64 kB / 1.092 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.99, allocations: 89.02 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006744/0.9907, allocations: 397.2 kB / 1.093 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.9907, allocations: 3.938 kB / 1.093 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9907, allocations: 0 / 1.093 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.9907, allocations: 0.875 kB / 1.093 GB, free: 3.004 MB / 0.8575 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.001133/0.9918, allocations: 0.5533 MB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/0.9919, allocations: 9.656 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.982e-05/0.992, allocations: 25.72 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/0.9926, allocations: 280 kB / 1.093 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.9927, allocations: 60.12 kB / 1.093 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.9928, allocations: 7.25 kB / 1.093 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.9931, allocations: 101.4 kB / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.9931, allocations: 4.875 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.9931, allocations: 0 / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.9931, allocations: 0.7812 kB / 1.094 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.9935, allocations: 97.09 kB / 1.094 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003706/0.9939, allocations: 256.8 kB / 1.094 GB, free: 1.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.9954, allocations: 292.8 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.9956, allocations: 57.89 kB / 1.094 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001644/0.9958, allocations: 97.55 kB / 1.094 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.9958, allocations: 43.56 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.674e-06/0.9958, allocations: 4 kB / 1.094 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0006591/0.9965, allocations: 202.1 kB / 1.095 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.9965, allocations: 52.7 kB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/0.997, allocations: 305.1 kB / 1.095 GB, free: 1.387 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.997, allocations: 34.61 kB / 1.095 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.472e-05/0.9971, allocations: 119 kB / 1.095 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.9971, allocations: 20.56 kB / 1.095 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.9972, allocations: 56.12 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.789e-05/0.9973, allocations: 335.8 kB / 1.095 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.9976, allocations: 154 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003066/0.998, allocations: 157.3 kB / 1.096 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.9985, allocations: 293 kB / 1.096 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.9986, allocations: 0 / 1.096 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007611/0.9993, allocations: 406.2 kB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.9994, allocations: 5.797 kB / 1.096 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.012e-05/0.9994, allocations: 6.922 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.9994, allocations: 0.5625 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.9995, allocations: 13.59 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.9995, allocations: 1.375 kB / 1.096 GB, free: 0.5469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.9997, allocations: 33.53 kB / 1.096 GB, free: 0.5234 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.9997, allocations: 2.5 kB / 1.096 GB, free: 0.5234 MB / 0.8575 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.0001262/0.9998, allocations: 136.5 kB / 1.097 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.9999, allocations: 24.06 kB / 1.097 GB, free: 392 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004688/1, allocations: 165.1 kB / 1.097 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/1, allocations: 0 / 1.097 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/1, allocations: 0.875 kB / 1.097 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1, allocations: 8.547 kB / 1.097 GB, free: 324 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/1.001, allocations: 237.8 kB / 1.097 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.001, allocations: 320 / 1.097 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/1.001, allocations: 22.08 kB / 1.097 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/1.001, allocations: 1.359 kB / 1.097 GB, free: 96 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/1.001, allocations: 5.438 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/1.001, allocations: 0.7031 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.001, allocations: 1.125 kB / 1.097 GB, free: 92 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/1.001, allocations: 188.1 kB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/1.001, allocations: 108.7 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/1.001, allocations: 1.812 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.422e-05/1.002, allocations: 4.594 kB / 1.097 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/1.002, allocations: 10.2 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/1.002, allocations: 5.219 kB / 1.097 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002827/1.002, allocations: 198.9 kB / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.002, allocations: 0 / 1.097 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006966/1.003, allocations: 112.2 kB / 1.098 GB, free: 15.75 MB / 0.8731 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.0005894/1.003, allocations: 258.9 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006453/1.004, allocations: 362.4 kB / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.004, allocations: 0 / 1.098 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/1.004, allocations: 58.02 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/1.004, allocations: 47.42 kB / 1.098 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007537/1.005, allocations: 388.1 kB / 1.099 GB, free: 15.22 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/1.006, allocations: 0.7349 MB / 1.099 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000101/1.006, allocations: 25.92 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.556e-05/1.006, allocations: 15.91 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of SimCode: time 1.923e-06/1.006, allocations: 0 / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of Templates: time 0.008374/1.014, allocations: 3.191 MB / 1.103 GB, free: 14.25 MB / 0.8731 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