Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001693/0.001693, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002054/0.002054, allocations: 218.2 kB / 23.03 MB, free: 4.922 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.915/2.915, allocations: 476.8 MB / 0.7715 GB, free: 3.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [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.001974/0.001974, allocations: 64.97 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3359, allocations: 170 MB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.208/0.5439, allocations: 149.4 MB / 1.43 GB, free: 4.688 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.009756/0.5536, allocations: 6.53 MB / 1.436 GB, free: 14.14 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005213/0.5541, allocations: 19.81 kB / 1.436 GB, free: 14.12 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0006233/0.5548, allocations: 170.7 kB / 1.437 GB, free: 13.95 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00397/0.5587, allocations: 1.307 MB / 1.438 GB, free: 12.64 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002014/0.5607, allocations: 0.6651 MB / 1.438 GB, free: 11.98 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.5621, allocations: 0.7758 MB / 1.439 GB, free: 11.2 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004851/0.5626, allocations: 227.8 kB / 1.439 GB, free: 10.98 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.564, allocations: 0.5916 MB / 1.44 GB, free: 10.38 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.565, allocations: 454.5 kB / 1.44 GB, free: 9.938 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.746e-05/0.565, allocations: 28 kB / 1.441 GB, free: 9.91 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.5675, allocations: 1.067 MB / 1.442 GB, free: 8.84 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001701/0.5677, allocations: 115.6 kB / 1.442 GB, free: 8.727 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.5679, allocations: 155.2 kB / 1.442 GB, free: 8.574 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.5696, allocations: 0.8621 MB / 1.443 GB, free: 7.711 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.5696, allocations: 3.938 kB / 1.443 GB, free: 7.707 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5696, allocations: 4 kB / 1.443 GB, free: 7.703 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.5696, allocations: 0 / 1.443 GB, free: 7.703 MB / 1.139 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.001134/0.5707, allocations: 0.6368 MB / 1.443 GB, free: 7.035 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.5708, allocations: 8.031 kB / 1.443 GB, free: 7.027 MB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.55e-05/0.5708, allocations: 12.64 kB / 1.443 GB, free: 7.012 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.897e-05/0.5709, allocations: 58.55 kB / 1.443 GB, free: 6.945 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.572, allocations: 135.5 kB / 1.443 GB, free: 6.812 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006008/0.5726, allocations: 291.5 kB / 1.444 GB, free: 6.504 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.684e-05/0.5727, allocations: 76.06 kB / 1.444 GB, free: 6.418 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.5727, allocations: 24 kB / 1.444 GB, free: 6.395 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007748/0.5735, allocations: 393 kB / 1.444 GB, free: 5.98 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.5735, allocations: 4 kB / 1.444 GB, free: 5.977 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.832e-05/0.5735, allocations: 12 kB / 1.444 GB, free: 5.965 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.5735, allocations: 7.938 kB / 1.444 GB, free: 5.957 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005633/0.5741, allocations: 277.7 kB / 1.445 GB, free: 5.688 MB / 1.139 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.001962/0.5761, allocations: 1.136 MB / 1.446 GB, free: 4.492 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.5765, allocations: 194.4 kB / 1.446 GB, free: 4.293 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.5767, allocations: 108.8 kB / 1.446 GB, free: 4.184 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008762/0.5776, allocations: 135.8 kB / 1.446 GB, free: 4.051 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.5776, allocations: 38.56 kB / 1.446 GB, free: 4.004 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 2.225e-06/0.5777, allocations: 0 / 1.446 GB, free: 4.004 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.001052/0.5787, allocations: 352.8 kB / 1.446 GB, free: 3.656 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.5788, allocations: 59.34 kB / 1.446 GB, free: 3.586 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.5791, allocations: 320.5 kB / 1.447 GB, free: 3.266 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.5792, allocations: 29.7 kB / 1.447 GB, free: 3.23 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.5793, allocations: 192.3 kB / 1.447 GB, free: 3.039 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.519e-05/0.5794, allocations: 51.53 kB / 1.447 GB, free: 2.988 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.663e-05/0.5795, allocations: 45.7 kB / 1.447 GB, free: 2.938 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.5797, allocations: 342.8 kB / 1.447 GB, free: 2.594 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.5799, allocations: 87.92 kB / 1.447 GB, free: 2.508 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.5802, allocations: 228.9 kB / 1.448 GB, free: 2.246 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004583/0.5807, allocations: 233.8 kB / 1.448 GB, free: 1.996 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.5807, allocations: 4 kB / 1.448 GB, free: 1.992 MB / 1.139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006962/0.5814, allocations: 281.2 kB / 1.448 GB, free: 1.711 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5814, allocations: 8 kB / 1.448 GB, free: 1.703 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.5814, allocations: 0 / 1.448 GB, free: 1.703 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.352e-05/0.5814, allocations: 7.938 kB / 1.448 GB, free: 1.695 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.5817, allocations: 51.91 kB / 1.448 GB, free: 1.645 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.5817, allocations: 4.188 kB / 1.448 GB, free: 1.641 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.5819, allocations: 31.83 kB / 1.448 GB, free: 1.609 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.582, allocations: 8 kB / 1.448 GB, free: 1.602 MB / 1.139 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 0.000204/0.5822, allocations: 157.6 kB / 1.448 GB, free: 1.438 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.5823, allocations: 31.81 kB / 1.449 GB, free: 1.406 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007764/0.5831, allocations: 312.1 kB / 1.449 GB, free: 1.094 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.5831, allocations: 8 kB / 1.449 GB, free: 1.086 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5831, allocations: 0 / 1.449 GB, free: 1.086 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.5831, allocations: 3.984 kB / 1.449 GB, free: 1.082 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.5846, allocations: 0.7411 MB / 1.45 GB, free: 276 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.5846, allocations: 4.219 kB / 1.45 GB, free: 272 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.5848, allocations: 35.98 kB / 1.45 GB, free: 236 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.5848, allocations: 7.938 kB / 1.45 GB, free: 228 kB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.5848, allocations: 4 kB / 1.45 GB, free: 224 kB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.5848, allocations: 11.92 kB / 1.45 GB, free: 212 kB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5848, allocations: 0 / 1.45 GB, free: 212 kB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007161/0.5855, allocations: 401.1 kB / 1.45 GB, free: 15.78 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001409/0.5857, allocations: 59.75 kB / 1.45 GB, free: 15.72 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.5857, allocations: 15.94 kB / 1.45 GB, free: 15.7 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.586, allocations: 11.98 kB / 1.45 GB, free: 15.69 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.586, allocations: 19.97 kB / 1.45 GB, free: 15.67 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.5861, allocations: 12 kB / 1.45 GB, free: 15.66 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002503/0.5863, allocations: 227 kB / 1.45 GB, free: 15.44 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5863, allocations: 0 / 1.45 GB, free: 15.44 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005662/0.5869, allocations: 119.8 kB / 1.45 GB, free: 15.32 MB / 1.154 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.001465/0.5884, allocations: 1.062 MB / 1.451 GB, free: 14.21 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000588/0.5889, allocations: 207.7 kB / 1.452 GB, free: 14 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5889, allocations: 4 kB / 1.452 GB, free: 14 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.5892, allocations: 112.5 kB / 1.452 GB, free: 13.89 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009164/0.5901, allocations: 163.3 kB / 1.452 GB, free: 13.74 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004738/0.5948, allocations: 3.055 MB / 1.455 GB, free: 10.53 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.5951, allocations: 185.1 kB / 1.455 GB, free: 10.33 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003402/0.5954, allocations: 90.78 kB / 1.455 GB, free: 10.24 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.5956, allocations: 99.41 kB / 1.455 GB, free: 10.14 MB / 1.154 GB Notification: Performance of SimCode: time 9.42e-07/0.5956, allocations: 0 / 1.455 GB, free: 10.14 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0401/0.6357, allocations: 11.33 MB / 1.466 GB, free: 15.12 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.85, allocations: 13.28 kB / 1.466 GB, free: 15.12 MB / 1.17 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 19.888758074026555]