Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008057/0.0008057, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8753/0.8753, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.689/1.689, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 3.984 kB / 0.981 GB, free: 2.574 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239e-05/1.523e-05, allocations: 2.281 kB / 0.981 GB, free: 2.57 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5551/0.5551, allocations: 149.5 MB / 1.127 GB, free: 12.05 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.004762/0.5599, allocations: 6.53 MB / 1.133 GB, free: 7.684 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001993/0.5601, allocations: 20.53 kB / 1.133 GB, free: 7.672 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004209/0.5605, allocations: 174.5 kB / 1.134 GB, free: 7.559 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.5624, allocations: 1.326 MB / 1.135 GB, free: 6.879 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.5634, allocations: 0.6999 MB / 1.135 GB, free: 6.535 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005166/0.5639, allocations: 0.7511 MB / 1.136 GB, free: 6.188 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002782/0.5642, allocations: 227.8 kB / 1.136 GB, free: 6.086 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009349/0.5652, allocations: 0.84 MB / 1.137 GB, free: 5.715 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.5656, allocations: 421 kB / 1.138 GB, free: 5.574 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.5657, allocations: 26.19 kB / 1.138 GB, free: 5.574 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.5667, allocations: 1.052 MB / 1.139 GB, free: 5.188 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 9.421e-05/0.5668, allocations: 120.7 kB / 1.139 GB, free: 5.133 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.5669, allocations: 122.3 kB / 1.139 GB, free: 5.086 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.00087/0.5678, allocations: 0.9247 MB / 1.14 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5678, allocations: 1.344 kB / 1.14 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5678, allocations: 0 / 1.14 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.5678, allocations: 0 / 1.14 GB, free: 4.781 MB / 0.9948 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.0006115/0.5684, allocations: 0.6396 MB / 1.14 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.5684, allocations: 10.09 kB / 1.14 GB, free: 4.289 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.5685, allocations: 61.91 kB / 1.141 GB, free: 4.234 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000508/0.569, allocations: 125.6 kB / 1.141 GB, free: 4.207 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003469/0.5693, allocations: 280.5 kB / 1.141 GB, free: 4 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.181e-05/0.5694, allocations: 73.7 kB / 1.141 GB, free: 3.93 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.5694, allocations: 33.72 kB / 1.141 GB, free: 3.918 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.5698, allocations: 393.5 kB / 1.141 GB, free: 3.715 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5698, allocations: 0 / 1.141 GB, free: 3.715 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.5698, allocations: 11.44 kB / 1.141 GB, free: 3.707 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5698, allocations: 6.375 kB / 1.141 GB, free: 3.707 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.5702, allocations: 274.8 kB / 1.142 GB, free: 3.621 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009928/0.5711, allocations: 1.141 MB / 1.143 GB, free: 2.805 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.5714, allocations: 186.5 kB / 1.143 GB, free: 2.734 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001333/0.5715, allocations: 110.2 kB / 1.143 GB, free: 2.699 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003838/0.5719, allocations: 139.6 kB / 1.143 GB, free: 2.68 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.5719, allocations: 41.33 kB / 1.143 GB, free: 2.633 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.123e-06/0.5719, allocations: 0 / 1.143 GB, free: 2.633 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0005594/0.5725, allocations: 354.5 kB / 1.144 GB, free: 2.512 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.635e-05/0.5725, allocations: 57.69 kB / 1.144 GB, free: 2.445 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.5727, allocations: 313.3 kB / 1.144 GB, free: 2.289 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.5727, allocations: 30.77 kB / 1.144 GB, free: 2.254 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.53e-05/0.5728, allocations: 183.1 kB / 1.144 GB, free: 2.102 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.5729, allocations: 61.47 kB / 1.144 GB, free: 2.051 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.5729, allocations: 43.16 kB / 1.144 GB, free: 2.023 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.178e-05/0.573, allocations: 340 kB / 1.145 GB, free: 1.699 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.5731, allocations: 87.44 kB / 1.145 GB, free: 1.676 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.5732, allocations: 224.8 kB / 1.145 GB, free: 1.496 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.5735, allocations: 239.4 kB / 1.145 GB, free: 1.375 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.5735, allocations: 0 / 1.145 GB, free: 1.375 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003588/0.5738, allocations: 299.3 kB / 1.145 GB, free: 1.25 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.5738, allocations: 5.969 kB / 1.145 GB, free: 1.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.5739, allocations: 2.984 kB / 1.145 GB, free: 1.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5739, allocations: 2.219 kB / 1.145 GB, free: 1.25 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.574, allocations: 38.44 kB / 1.145 GB, free: 1.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.574, allocations: 7.594 kB / 1.145 GB, free: 1.246 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.789e-05/0.5741, allocations: 32.91 kB / 1.145 GB, free: 1.227 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.5741, allocations: 13.66 kB / 1.145 GB, free: 1.223 MB / 0.9948 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.25e-05/0.5742, allocations: 149.6 kB / 1.146 GB, free: 1.09 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.5742, allocations: 35.64 kB / 1.146 GB, free: 1.07 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003981/0.5746, allocations: 313.2 kB / 1.146 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.5746, allocations: 1.219 kB / 1.146 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5747, allocations: 4.25 kB / 1.146 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.5747, allocations: 1.359 kB / 1.146 GB, free: 0.9453 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007116/0.5754, allocations: 0.7497 MB / 1.147 GB, free: 480 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.5754, allocations: 1.594 kB / 1.147 GB, free: 480 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.491e-05/0.5755, allocations: 37.41 kB / 1.147 GB, free: 476 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.5755, allocations: 6.5 kB / 1.147 GB, free: 472 kB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.5755, allocations: 8.5 kB / 1.147 GB, free: 468 kB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5755, allocations: 3.641 kB / 1.147 GB, free: 468 kB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.5755, allocations: 10.12 kB / 1.147 GB, free: 460 kB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.5758, allocations: 402.3 kB / 1.147 GB, free: 192 kB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.123e-05/0.5759, allocations: 59.97 kB / 1.147 GB, free: 160 kB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.5759, allocations: 5.609 kB / 1.147 GB, free: 160 kB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.576, allocations: 14.42 kB / 1.147 GB, free: 156 kB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.576, allocations: 21.73 kB / 1.147 GB, free: 148 kB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.5761, allocations: 14.92 kB / 1.147 GB, free: 144 kB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001343/0.5762, allocations: 226.1 kB / 1.147 GB, free: 24 kB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5762, allocations: 0 / 1.147 GB, free: 24 kB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003339/0.5765, allocations: 123.6 kB / 1.148 GB, free: 15.99 MB / 1.01 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 (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.0008414/0.5774, allocations: 1.056 MB / 1.149 GB, free: 15.16 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003445/0.5777, allocations: 214.7 kB / 1.149 GB, free: 15.1 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5777, allocations: 1.062 kB / 1.149 GB, free: 15.1 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001473/0.5779, allocations: 112.2 kB / 1.149 GB, free: 15.07 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.5784, allocations: 160.3 kB / 1.149 GB, free: 15.03 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.5812, allocations: 3.054 MB / 1.152 GB, free: 13.04 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.5813, allocations: 180.1 kB / 1.152 GB, free: 12.96 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001711/0.5815, allocations: 87.02 kB / 1.152 GB, free: 12.94 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.5816, allocations: 106.5 kB / 1.152 GB, free: 12.86 MB / 1.01 GB Notification: Performance of SimCode: time 4.51e-07/0.5816, allocations: 0 / 1.152 GB, free: 12.86 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.6034, allocations: 11.85 MB / 1.164 GB, free: 11.05 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.684/7.288, allocations: 7.047 kB / 1.164 GB, free: 11.05 MB / 1.01 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.194726009853184]