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.001393/0.001393, allocations: 110.4 kB / 17.54 MB, free: 4.641 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.001445/0.001445, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.298/1.298, allocations: 225.6 MB / 249.3 MB, free: 3.18 MB / 190.1 MB " [Timeout remaining time 179] 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.509/2.509, allocations: 476.7 MB / 0.7628 GB, free: 15.11 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.00181/0.00181, allocations: 63.91 kB / 1.107 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7763/0.7781, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1872/0.9653, allocations: 170.2 MB / 1.438 GB, free: 8.426 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00906/0.9744, allocations: 7.215 MB / 1.445 GB, free: 2.609 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005297/0.9749, allocations: 12.91 kB / 1.445 GB, free: 2.605 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0006235/0.9755, allocations: 173.5 kB / 1.445 GB, free: 2.453 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003202/0.9787, allocations: 1.304 MB / 1.446 GB, free: 1.488 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.9803, allocations: 0.6434 MB / 1.447 GB, free: 1.016 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.9814, allocations: 0.7612 MB / 1.447 GB, free: 392 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004342/0.9818, allocations: 245.2 kB / 1.448 GB, free: 148 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.983, allocations: 0.5878 MB / 1.448 GB, free: 15.55 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008144/0.9838, allocations: 438.4 kB / 1.449 GB, free: 15.12 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 5.578e-05/0.9838, allocations: 28 kB / 1.449 GB, free: 15.1 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002154/0.986, allocations: 1.337 MB / 1.45 GB, free: 13.76 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.9861, allocations: 123.6 kB / 1.45 GB, free: 13.64 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.9863, allocations: 175.1 kB / 1.45 GB, free: 13.46 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.9878, allocations: 0.9072 MB / 1.451 GB, free: 12.55 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.9878, allocations: 4 kB / 1.451 GB, free: 12.55 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.423e-06/0.9878, allocations: 0 / 1.451 GB, free: 12.55 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.9878, allocations: 0 / 1.451 GB, free: 12.55 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.00104/0.9888, allocations: 0.7042 MB / 1.452 GB, free: 11.8 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.9888, allocations: 8.031 kB / 1.452 GB, free: 11.79 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.808e-05/0.9889, allocations: 70.53 kB / 1.452 GB, free: 11.71 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009726/0.9899, allocations: 131.6 kB / 1.452 GB, free: 11.58 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005167/0.9904, allocations: 337.4 kB / 1.452 GB, free: 11.21 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.892e-05/0.9905, allocations: 58.25 kB / 1.452 GB, free: 11.15 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.742e-05/0.9905, allocations: 28 kB / 1.452 GB, free: 11.12 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006377/0.9912, allocations: 362.1 kB / 1.453 GB, free: 10.75 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.9912, allocations: 0 / 1.453 GB, free: 10.75 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.396e-05/0.9912, allocations: 12 kB / 1.453 GB, free: 10.74 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.9912, allocations: 12 kB / 1.453 GB, free: 10.73 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005395/0.9918, allocations: 277.9 kB / 1.453 GB, free: 10.45 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.001875/0.9936, allocations: 1.496 MB / 1.455 GB, free: 8.836 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.994, allocations: 190.5 kB / 1.455 GB, free: 8.641 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.9943, allocations: 109.3 kB / 1.455 GB, free: 8.531 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009399/0.9952, allocations: 0.5053 MB / 1.455 GB, free: 7.934 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.9952, allocations: 34.5 kB / 1.455 GB, free: 7.891 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 1.804e-06/0.9952, allocations: 0 / 1.455 GB, free: 7.891 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.0009306/0.9962, allocations: 364.7 kB / 1.456 GB, free: 7.531 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.9962, allocations: 51.41 kB / 1.456 GB, free: 7.469 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003496/0.9966, allocations: 316.5 kB / 1.456 GB, free: 7.152 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.9966, allocations: 29.7 kB / 1.456 GB, free: 7.117 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.9967, allocations: 188.2 kB / 1.456 GB, free: 6.93 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.9968, allocations: 51.53 kB / 1.456 GB, free: 6.879 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/0.9969, allocations: 45.7 kB / 1.456 GB, free: 6.828 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.997, allocations: 346.7 kB / 1.457 GB, free: 6.48 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.9972, allocations: 87.92 kB / 1.457 GB, free: 6.395 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002367/0.9974, allocations: 147.4 kB / 1.457 GB, free: 6.23 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/0.9979, allocations: 237.6 kB / 1.457 GB, free: 5.98 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9979, allocations: 0 / 1.457 GB, free: 5.98 MB / 1.139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005895/0.9985, allocations: 293.2 kB / 1.457 GB, free: 5.688 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.9985, allocations: 4 kB / 1.457 GB, free: 5.684 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.9985, allocations: 4 kB / 1.457 GB, free: 5.68 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.9985, allocations: 0 / 1.457 GB, free: 5.68 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.9987, allocations: 43.97 kB / 1.458 GB, free: 5.637 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.9987, allocations: 7.938 kB / 1.458 GB, free: 5.629 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000198/0.9989, allocations: 24.02 kB / 1.458 GB, free: 5.605 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.444e-05/0.999, allocations: 20 kB / 1.458 GB, free: 5.586 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.0001501/0.9991, allocations: 153.6 kB / 1.458 GB, free: 5.426 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.9992, allocations: 31.81 kB / 1.458 GB, free: 5.395 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006748/0.9999, allocations: 308.2 kB / 1.458 GB, free: 5.078 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.9999, allocations: 4 kB / 1.458 GB, free: 5.074 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.9999, allocations: 4 kB / 1.458 GB, free: 5.07 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.9999, allocations: 3.984 kB / 1.458 GB, free: 5.066 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/1.001, allocations: 0.8044 MB / 1.459 GB, free: 4.184 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/1.001, allocations: 7.938 kB / 1.459 GB, free: 4.176 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001843/1.001, allocations: 35.98 kB / 1.459 GB, free: 4.141 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/1.001, allocations: 3.938 kB / 1.459 GB, free: 4.137 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/1.001, allocations: 8.047 kB / 1.459 GB, free: 4.129 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/1.001, allocations: 4 kB / 1.459 GB, free: 4.125 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/1.001, allocations: 11.92 kB / 1.459 GB, free: 4.113 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006138/1.002, allocations: 401.4 kB / 1.459 GB, free: 3.684 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/1.002, allocations: 140.8 kB / 1.459 GB, free: 3.527 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.227e-05/1.002, allocations: 3.938 kB / 1.459 GB, free: 3.523 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/1.002, allocations: 19.92 kB / 1.459 GB, free: 3.504 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/1.002, allocations: 15.98 kB / 1.459 GB, free: 3.488 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/1.003, allocations: 11.98 kB / 1.459 GB, free: 3.477 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.000222/1.003, allocations: 227 kB / 1.46 GB, free: 3.258 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.1e-07/1.003, allocations: 4 kB / 1.46 GB, free: 3.254 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005059/1.003, allocations: 115.8 kB / 1.46 GB, free: 3.141 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.001397/1.005, allocations: 1.07 MB / 1.461 GB, free: 2.027 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004901/1.005, allocations: 215.7 kB / 1.461 GB, free: 1.816 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/1.005, allocations: 0 / 1.461 GB, free: 1.816 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.000225/1.005, allocations: 111.8 kB / 1.461 GB, free: 1.707 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008273/1.006, allocations: 165.1 kB / 1.461 GB, free: 1.551 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/1.01, allocations: 3.058 MB / 1.464 GB, free: 14.34 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/1.011, allocations: 0.7834 MB / 1.465 GB, free: 13.53 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002653/1.011, allocations: 86.88 kB / 1.465 GB, free: 13.44 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/1.011, allocations: 103.4 kB / 1.465 GB, free: 13.34 MB / 1.154 GB Notification: Performance of SimCode: time 5.31e-07/1.011, allocations: 0 / 1.465 GB, free: 13.34 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03424/1.045, allocations: 10.58 MB / 1.476 GB, free: 2.945 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/8.505, allocations: 0 / 1.476 GB, free: 2.945 MB / 1.154 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv --start-time 0 --stop-time 60 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 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.csv","/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] "Error: Could not read variable senM_flow.m_flow in file Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv. Warning: Get data of variable senM_flow.m_flow from file Buildings_11_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.929392445999838]