Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senM_flow.m_flow|senS_flow.S_flow|senS.s",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 92 kB / 15.06 MB, free: 1.098 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.001393/0.001393, allocations: 172.7 kB / 15.95 MB, free: 208 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.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.43 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.496/2.496, allocations: 390.9 MB / 0.666 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004724, allocations: 12 kB / 0.8153 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6987/0.6992, allocations: 142.4 MB / 0.9544 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.171/0.8703, allocations: 154 MB / 1.105 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.007898/0.8782, allocations: 6.631 MB / 1.111 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000468/0.8787, allocations: 11.94 kB / 1.111 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0005761/0.8793, allocations: 115.1 kB / 1.111 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.8816, allocations: 0.8358 MB / 1.112 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.883, allocations: 481.7 kB / 1.113 GB, free: 13.03 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0009871/0.884, allocations: 0.8889 MB / 1.114 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003991/0.8844, allocations: 225.2 kB / 1.114 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009889/0.8854, allocations: 482 kB / 1.114 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000757/0.8862, allocations: 402.6 kB / 1.115 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 5.846e-05/0.8862, allocations: 15.94 kB / 1.115 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.8877, allocations: 0.6314 MB / 1.115 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.8878, allocations: 103.7 kB / 1.115 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.8879, allocations: 89.52 kB / 1.115 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0007863/0.8887, allocations: 0.5222 MB / 1.116 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.8888, allocations: 0 / 1.116 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8888, allocations: 0 / 1.116 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.8888, allocations: 4 kB / 1.116 GB, free: 9.684 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001045/0.8898, allocations: 0.6351 MB / 1.117 GB, free: 9 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.8899, allocations: 12.03 kB / 1.117 GB, free: 8.988 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009902/0.8909, allocations: 123.4 kB / 1.117 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.8914, allocations: 313.4 kB / 1.117 GB, free: 8.52 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.426e-05/0.8915, allocations: 54.27 kB / 1.117 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.483e-05/0.8916, allocations: 27.95 kB / 1.117 GB, free: 8.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007323/0.8923, allocations: 370.2 kB / 1.117 GB, free: 8.047 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.8923, allocations: 8 kB / 1.117 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.8924, allocations: 8 kB / 1.117 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.8924, allocations: 11.94 kB / 1.117 GB, free: 8.02 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005285/0.8929, allocations: 282 kB / 1.118 GB, free: 7.746 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.8948, allocations: 1.504 MB / 1.119 GB, free: 6.113 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003814/0.8952, allocations: 202.5 kB / 1.119 GB, free: 5.906 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.8954, allocations: 120.8 kB / 1.119 GB, free: 5.785 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009519/0.8963, allocations: 0.5209 MB / 1.12 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.8964, allocations: 34.56 kB / 1.12 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=15): time 1.713e-06/0.8964, allocations: 0 / 1.12 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of matching and sorting (n=15): time 0.0009489/0.8974, allocations: 375.8 kB / 1.12 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.8974, allocations: 51.41 kB / 1.12 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003154/0.8977, allocations: 316.5 kB / 1.121 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.8978, allocations: 33.64 kB / 1.121 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/0.8979, allocations: 180.1 kB / 1.121 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.224e-05/0.898, allocations: 55.28 kB / 1.121 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.898, allocations: 4 kB / 1.121 GB, free: 4.105 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8981, allocations: 342.8 kB / 1.121 GB, free: 3.762 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.8983, allocations: 87.92 kB / 1.121 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.8986, allocations: 155.5 kB / 1.122 GB, free: 3.504 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.8988, allocations: 104.7 kB / 1.122 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.8988, allocations: 0 / 1.122 GB, free: 3.402 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005652/0.8993, allocations: 297.9 kB / 1.122 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.8994, allocations: 4 kB / 1.122 GB, free: 3.102 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.8994, allocations: 4 kB / 1.122 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.8994, allocations: 0 / 1.122 GB, free: 3.098 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.8996, allocations: 47.92 kB / 1.122 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.8996, allocations: 15.88 kB / 1.122 GB, free: 3.035 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.8999, allocations: 43.8 kB / 1.122 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.8999, allocations: 8 kB / 1.122 GB, free: 2.984 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001425/0.9001, allocations: 149.8 kB / 1.122 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.9002, allocations: 27.7 kB / 1.122 GB, free: 2.801 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006752/0.9008, allocations: 324.1 kB / 1.123 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.9009, allocations: 0 / 1.123 GB, free: 2.477 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.9009, allocations: 7.953 kB / 1.123 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.9009, allocations: 0 / 1.123 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.9021, allocations: 0.8199 MB / 1.123 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.9021, allocations: 4 kB / 1.123 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.9023, allocations: 31.98 kB / 1.123 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/0.9023, allocations: 4 kB / 1.123 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.9023, allocations: 11.92 kB / 1.123 GB, free: 1.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.9023, allocations: 7.938 kB / 1.123 GB, free: 1.512 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9023, allocations: 4.078 kB / 1.123 GB, free: 1.508 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005674/0.9029, allocations: 417.2 kB / 1.124 GB, free: 1.062 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.9031, allocations: 136.6 kB / 1.124 GB, free: 0.9102 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/0.9031, allocations: 7.984 kB / 1.124 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.9034, allocations: 27.98 kB / 1.124 GB, free: 0.875 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.9034, allocations: 11.98 kB / 1.124 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.9034, allocations: 15.98 kB / 1.124 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000201/0.9036, allocations: 223.1 kB / 1.124 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9037, allocations: 0 / 1.124 GB, free: 0.6289 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004588/0.9041, allocations: 111.8 kB / 1.124 GB, free: 0.5195 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (16): * Single equations (assignments): 16 * 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.0004829/0.9046, allocations: 227.2 kB / 1.125 GB, free: 308 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004717/0.9051, allocations: 219.7 kB / 1.125 GB, free: 88 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9051, allocations: 4.375 kB / 1.125 GB, free: 84 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002255/0.9053, allocations: 119.8 kB / 1.125 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008273/0.9062, allocations: 165.5 kB / 1.125 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.9072, allocations: 0.6994 MB / 1.126 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.9075, allocations: 0.7875 MB / 1.126 GB, free: 14.24 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0003043/0.9079, allocations: 90.8 kB / 1.127 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.331e-05/0.9079, allocations: 27.44 kB / 1.127 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of SimCode: time 2.5e-07/0.908, allocations: 0 / 1.127 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of Templates: time 0.01214/0.9201, allocations: 6.76 MB / 1.133 GB, free: 7.449 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches