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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002033/0.002033, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002078/0.002078, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 225.6 MB / 247.8 MB, free: 3.75 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.819/2.819, allocations: 476.7 MB / 0.7611 GB, free: 15.71 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 63.91 kB / 1.104 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109/1.111, allocations: 168.7 MB / 1.269 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2344/1.346, allocations: 170 MB / 1.435 GB, free: 8.758 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.01072/1.356, allocations: 7.167 MB / 1.442 GB, free: 2.969 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006458/1.357, allocations: 12.19 kB / 1.442 GB, free: 2.965 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006838/1.358, allocations: 171.4 kB / 1.442 GB, free: 2.816 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.004165/1.362, allocations: 1.314 MB / 1.443 GB, free: 1.84 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/1.364, allocations: 0.6383 MB / 1.444 GB, free: 1.375 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001168/1.365, allocations: 0.7554 MB / 1.445 GB, free: 0.9414 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004753/1.365, allocations: 256.8 kB / 1.445 GB, free: 0.7773 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/1.367, allocations: 0.586 MB / 1.445 GB, free: 344 kB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000886/1.368, allocations: 438.5 kB / 1.446 GB, free: 15.9 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/1.368, allocations: 24 kB / 1.446 GB, free: 15.88 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/1.37, allocations: 1.34 MB / 1.447 GB, free: 14.54 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001677/1.371, allocations: 119.6 kB / 1.447 GB, free: 14.42 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/1.371, allocations: 179.1 kB / 1.447 GB, free: 14.25 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/1.373, allocations: 0.9073 MB / 1.448 GB, free: 13.34 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.373, allocations: 0 / 1.448 GB, free: 13.34 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.292e-06/1.373, allocations: 0 / 1.448 GB, free: 13.34 MB / 1.139 GB Notification: Performance of Transformations before backend: time 8.786e-06/1.373, allocations: 0 / 1.448 GB, free: 13.34 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.001185/1.374, allocations: 0.7042 MB / 1.449 GB, free: 12.58 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/1.374, allocations: 12.02 kB / 1.449 GB, free: 12.57 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.095e-05/1.374, allocations: 66.55 kB / 1.449 GB, free: 12.5 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/1.375, allocations: 131.6 kB / 1.449 GB, free: 12.37 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000688/1.376, allocations: 341.3 kB / 1.45 GB, free: 11.99 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/1.376, allocations: 54.27 kB / 1.45 GB, free: 11.93 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.668e-05/1.376, allocations: 28 kB / 1.45 GB, free: 11.91 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006854/1.376, allocations: 362.1 kB / 1.45 GB, free: 11.54 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/1.376, allocations: 3.984 kB / 1.45 GB, free: 11.53 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/1.377, allocations: 12 kB / 1.45 GB, free: 11.52 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/1.377, allocations: 8 kB / 1.45 GB, free: 11.51 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000543/1.377, allocations: 278 kB / 1.45 GB, free: 11.24 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.002158/1.379, allocations: 1.488 MB / 1.452 GB, free: 9.625 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/1.38, allocations: 196.5 kB / 1.452 GB, free: 9.426 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002282/1.38, allocations: 112.8 kB / 1.452 GB, free: 9.312 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/1.381, allocations: 0.5053 MB / 1.452 GB, free: 8.715 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/1.381, allocations: 34.56 kB / 1.453 GB, free: 8.672 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 1.653e-06/1.381, allocations: 0 / 1.453 GB, free: 8.672 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.001001/1.382, allocations: 361.2 kB / 1.453 GB, free: 8.312 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/1.382, allocations: 55.41 kB / 1.453 GB, free: 8.246 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003817/1.382, allocations: 316.5 kB / 1.453 GB, free: 7.926 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.427e-05/1.382, allocations: 29.7 kB / 1.453 GB, free: 7.891 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/1.383, allocations: 184.3 kB / 1.453 GB, free: 7.707 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/1.383, allocations: 55.48 kB / 1.453 GB, free: 7.652 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.662e-05/1.383, allocations: 45.7 kB / 1.454 GB, free: 7.602 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001683/1.383, allocations: 342.8 kB / 1.454 GB, free: 7.258 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/1.383, allocations: 87.92 kB / 1.454 GB, free: 7.172 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/1.383, allocations: 152.1 kB / 1.454 GB, free: 7.004 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004278/1.384, allocations: 233.8 kB / 1.454 GB, free: 6.754 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/1.384, allocations: 0 / 1.454 GB, free: 6.754 MB / 1.139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005995/1.384, allocations: 292.6 kB / 1.455 GB, free: 6.465 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/1.384, allocations: 4 kB / 1.455 GB, free: 6.461 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.384, allocations: 4 kB / 1.455 GB, free: 6.457 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.384, allocations: 4 kB / 1.455 GB, free: 6.453 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/1.385, allocations: 47.91 kB / 1.455 GB, free: 6.406 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/1.385, allocations: 7.938 kB / 1.455 GB, free: 6.398 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/1.385, allocations: 23.83 kB / 1.455 GB, free: 6.375 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/1.385, allocations: 20.19 kB / 1.455 GB, free: 6.355 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.0001682/1.385, allocations: 153.6 kB / 1.455 GB, free: 6.195 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/1.385, allocations: 31.81 kB / 1.455 GB, free: 6.164 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007771/1.386, allocations: 306.9 kB / 1.455 GB, free: 5.852 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/1.386, allocations: 4.047 kB / 1.455 GB, free: 5.848 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.386, allocations: 3.984 kB / 1.455 GB, free: 5.844 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/1.386, allocations: 4 kB / 1.455 GB, free: 5.84 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/1.388, allocations: 0.8122 MB / 1.456 GB, free: 4.949 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.388, allocations: 0 / 1.456 GB, free: 4.949 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/1.388, allocations: 35.92 kB / 1.456 GB, free: 4.914 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.388, allocations: 3.938 kB / 1.456 GB, free: 4.91 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/1.388, allocations: 8 kB / 1.456 GB, free: 4.902 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.237e-06/1.388, allocations: 7.984 kB / 1.456 GB, free: 4.895 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/1.388, allocations: 4 kB / 1.456 GB, free: 4.891 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/1.388, allocations: 397.3 kB / 1.456 GB, free: 4.465 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001941/1.389, allocations: 140.8 kB / 1.457 GB, free: 4.309 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/1.389, allocations: 7.938 kB / 1.457 GB, free: 4.301 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/1.389, allocations: 15.98 kB / 1.457 GB, free: 4.285 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.895e-05/1.389, allocations: 19.91 kB / 1.457 GB, free: 4.266 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/1.389, allocations: 12 kB / 1.457 GB, free: 4.254 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002937/1.389, allocations: 223 kB / 1.457 GB, free: 4.039 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/1.389, allocations: 4 kB / 1.457 GB, free: 4.035 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005602/1.39, allocations: 123.7 kB / 1.457 GB, free: 3.914 MB / 1.139 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.001509/1.391, allocations: 1.064 MB / 1.458 GB, free: 2.805 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005274/1.392, allocations: 215.7 kB / 1.458 GB, free: 2.594 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.392, allocations: 0 / 1.458 GB, free: 2.594 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002341/1.392, allocations: 115.8 kB / 1.458 GB, free: 2.48 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008528/1.393, allocations: 162.3 kB / 1.458 GB, free: 2.328 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/1.398, allocations: 3.054 MB / 1.461 GB, free: 15.12 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/1.398, allocations: 0.7834 MB / 1.462 GB, free: 14.3 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0003201/1.398, allocations: 82.88 kB / 1.462 GB, free: 14.22 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001822/1.399, allocations: 103.4 kB / 1.462 GB, free: 14.12 MB / 1.154 GB Notification: Performance of SimCode: time 1.032e-06/1.399, allocations: 0 / 1.462 GB, free: 14.12 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/1.437, allocations: 10.57 MB / 1.473 GB, free: 3.738 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.732/10.17, allocations: 15.98 kB / 1.473 GB, free: 3.723 MB / 1.154 GB " [Timeout remaining time 290] (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_2/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: 16.446691880002618]