Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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.001757/0.001757, allocations: 79.73 kB / 19.76 MB, free: 1.871 MB / 14.72 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.00162/0.00162, allocations: 157.6 kB / 23.01 MB, free: 4.602 MB / 14.72 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 1.48/1.48, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.806/2.806, allocations: 377.9 MB / 0.6228 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senStr.port_a.m_flow|senStr.s|senFloSou.s",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 75.89 kB / 0.982 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.003/1.005, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEntropy): time 0.198/1.203, allocations: 143.9 MB / 1.294 GB, free: 372 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006776/1.21, allocations: 4.22 MB / 1.299 GB, free: 13.55 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004354/1.21, allocations: 14.53 kB / 1.299 GB, free: 13.55 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005335/1.211, allocations: 131.3 kB / 1.299 GB, free: 13.46 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.001685/1.213, allocations: 0.5743 MB / 1.299 GB, free: 13.16 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00245/1.215, allocations: 0.791 MB / 1.3 GB, free: 12.78 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0009586/1.216, allocations: 0.5814 MB / 1.301 GB, free: 12.52 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000379/1.216, allocations: 168 kB / 1.301 GB, free: 12.45 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001835/1.218, allocations: 0.677 MB / 1.301 GB, free: 12.07 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000693/1.219, allocations: 297.8 kB / 1.302 GB, free: 11.91 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 4.549e-05/1.219, allocations: 18.34 kB / 1.302 GB, free: 11.91 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/1.221, allocations: 0.8579 MB / 1.303 GB, free: 11.42 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/1.221, allocations: 92.7 kB / 1.303 GB, free: 11.36 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001585/1.221, allocations: 101.1 kB / 1.303 GB, free: 11.3 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/1.222, allocations: 0.6807 MB / 1.303 GB, free: 10.9 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.222, allocations: 7.922 kB / 1.303 GB, free: 10.89 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.273e-06/1.222, allocations: 0 / 1.303 GB, free: 10.89 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.374e-06/1.222, allocations: 1.125 kB / 1.303 GB, free: 10.89 MB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001013/1.223, allocations: 0.5355 MB / 1.304 GB, free: 10.43 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/1.223, allocations: 9.344 kB / 1.304 GB, free: 10.43 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006867/1.224, allocations: 83.83 kB / 1.304 GB, free: 10.39 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/1.224, allocations: 236.1 kB / 1.304 GB, free: 10.18 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/1.224, allocations: 12.44 kB / 1.304 GB, free: 10.18 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.204e-05/1.225, allocations: 20.28 kB / 1.304 GB, free: 10.17 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/1.225, allocations: 286.5 kB / 1.305 GB, free: 9.961 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/1.225, allocations: 0 / 1.305 GB, free: 9.961 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/1.225, allocations: 6.531 kB / 1.305 GB, free: 9.957 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/1.225, allocations: 8.688 kB / 1.305 GB, free: 9.953 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/1.226, allocations: 208.5 kB / 1.305 GB, free: 9.852 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/1.227, allocations: 1.11 MB / 1.306 GB, free: 8.859 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/1.228, allocations: 166 kB / 1.306 GB, free: 8.699 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/1.228, allocations: 111.9 kB / 1.306 GB, free: 8.617 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006678/1.228, allocations: 104.5 kB / 1.306 GB, free: 8.574 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/1.228, allocations: 38.23 kB / 1.306 GB, free: 8.531 MB / 1.154 GB Notification: Performance of pre-optimization done (n=13): time 1.693e-06/1.228, allocations: 0 / 1.306 GB, free: 8.531 MB / 1.154 GB Notification: Performance of matching and sorting (n=13): time 0.0008624/1.229, allocations: 274.2 kB / 1.307 GB, free: 8.383 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/1.229, allocations: 158 kB / 1.307 GB, free: 8.195 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/1.23, allocations: 204 kB / 1.307 GB, free: 8.035 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/1.23, allocations: 31.11 kB / 1.307 GB, free: 8 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/1.23, allocations: 156.5 kB / 1.307 GB, free: 7.855 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/1.23, allocations: 58.72 kB / 1.307 GB, free: 7.805 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.44e-05/1.23, allocations: 49.31 kB / 1.307 GB, free: 7.766 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.23, allocations: 331.6 kB / 1.307 GB, free: 7.438 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/1.23, allocations: 67.75 kB / 1.308 GB, free: 7.406 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/1.231, allocations: 250.9 kB / 1.308 GB, free: 7.16 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/1.231, allocations: 212.9 kB / 1.308 GB, free: 7.008 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/1.231, allocations: 0 / 1.308 GB, free: 7.008 MB / 1.154 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005443/1.232, allocations: 237.3 kB / 1.308 GB, free: 6.879 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.232, allocations: 9.406 kB / 1.308 GB, free: 6.875 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.232, allocations: 6.25 kB / 1.308 GB, free: 6.871 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/1.232, allocations: 2.938 kB / 1.308 GB, free: 6.871 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/1.232, allocations: 36.55 kB / 1.308 GB, free: 6.863 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.232, allocations: 7.266 kB / 1.308 GB, free: 6.859 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/1.232, allocations: 20.95 kB / 1.308 GB, free: 6.848 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/1.232, allocations: 13.45 kB / 1.308 GB, free: 6.844 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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 0.0001648/1.232, allocations: 151.6 kB / 1.308 GB, free: 6.703 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/1.232, allocations: 28.48 kB / 1.308 GB, free: 6.684 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004911/1.233, allocations: 172.2 kB / 1.309 GB, free: 6.559 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/1.233, allocations: 9.391 kB / 1.309 GB, free: 6.551 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.233, allocations: 1.438 kB / 1.309 GB, free: 6.551 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.233, allocations: 1.5 kB / 1.309 GB, free: 6.551 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/1.234, allocations: 0.7814 MB / 1.309 GB, free: 5.836 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.234, allocations: 1.094 kB / 1.309 GB, free: 5.836 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/1.234, allocations: 26.33 kB / 1.309 GB, free: 5.828 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.234, allocations: 5.281 kB / 1.309 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/1.234, allocations: 11.38 kB / 1.309 GB, free: 5.816 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/1.234, allocations: 5.094 kB / 1.309 GB, free: 5.812 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.234, allocations: 2.844 kB / 1.309 GB, free: 5.812 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005921/1.235, allocations: 329 kB / 1.31 GB, free: 5.555 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/1.235, allocations: 28.44 kB / 1.31 GB, free: 5.535 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/1.235, allocations: 7.5 kB / 1.31 GB, free: 5.531 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/1.235, allocations: 16.14 kB / 1.31 GB, free: 5.52 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/1.235, allocations: 16.95 kB / 1.31 GB, free: 5.508 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/1.235, allocations: 4.344 kB / 1.31 GB, free: 5.508 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0001774/1.235, allocations: 174.2 kB / 1.31 GB, free: 5.391 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.235, allocations: 96 / 1.31 GB, free: 5.391 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005788/1.236, allocations: 108.2 kB / 1.31 GB, free: 5.359 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0004293/1.236, allocations: 205.2 kB / 1.31 GB, free: 5.215 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000432/1.237, allocations: 148.8 kB / 1.31 GB, free: 5.148 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.237, allocations: 0 / 1.31 GB, free: 5.148 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/1.237, allocations: 60.62 kB / 1.311 GB, free: 5.121 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/1.237, allocations: 73.73 kB / 1.311 GB, free: 5.082 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008602/1.238, allocations: 495.5 kB / 1.311 GB, free: 4.711 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/1.238, allocations: 150.2 kB / 1.311 GB, free: 4.59 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001626/1.238, allocations: 49.45 kB / 1.311 GB, free: 4.57 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/1.239, allocations: 19.75 kB / 1.311 GB, free: 4.562 MB / 1.154 GB Notification: Performance of SimCode: time 4.91e-07/1.239, allocations: 0 / 1.311 GB, free: 4.562 MB / 1.154 GB Notification: Performance of Templates: time 0.009827/1.248, allocations: 4.376 MB / 1.316 GB, free: 2.344 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_SpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.SpecificEntropy.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: 9.307536593987606]