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.0008207/0.0008207, 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.0008574/0.0008574, allocations: 170.3 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.9528/0.9528, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.703/1.703, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="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 2.264e-06/2.264e-06, allocations: 0 / 0.9505 GB, free: 3.488 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.512e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6469/0.6469, allocations: 149.4 MB / 1.096 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005476/0.6524, allocations: 6.522 MB / 1.103 GB, free: 37.02 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005726/0.653, allocations: 18.97 kB / 1.103 GB, free: 37.01 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.6535, allocations: 180 kB / 1.103 GB, free: 36.9 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00374/0.6572, allocations: 1.332 MB / 1.104 GB, free: 36.47 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00297/0.6602, allocations: 0.7005 MB / 1.105 GB, free: 36.21 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001984/0.6622, allocations: 0.758 MB / 1.106 GB, free: 35.9 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007221/0.6629, allocations: 227.3 kB / 1.106 GB, free: 35.81 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.6649, allocations: 0.6895 MB / 1.107 GB, free: 35.55 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.666, allocations: 423.8 kB / 1.107 GB, free: 35.45 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.379e-05/0.6661, allocations: 25.5 kB / 1.107 GB, free: 35.45 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002947/0.669, allocations: 1.06 MB / 1.108 GB, free: 35.19 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001718/0.6692, allocations: 129 kB / 1.108 GB, free: 35.14 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.6693, allocations: 126.5 kB / 1.108 GB, free: 35.1 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.6716, allocations: 0.9237 MB / 1.109 GB, free: 34.86 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 1.106e-05/0.6716, allocations: 5.156 kB / 1.109 GB, free: 34.86 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.386e-06/0.6716, allocations: 0 / 1.109 GB, free: 34.86 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.6716, allocations: 0 / 1.109 GB, free: 34.86 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.001261/0.6729, allocations: 0.6296 MB / 1.11 GB, free: 34.38 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.673, allocations: 10.31 kB / 1.11 GB, free: 34.38 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.787e-05/0.673, allocations: 66.3 kB / 1.11 GB, free: 34.32 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006699/0.6737, allocations: 128.6 kB / 1.11 GB, free: 34.29 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005605/0.6742, allocations: 278.5 kB / 1.11 GB, free: 34.09 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.527e-05/0.6743, allocations: 74.3 kB / 1.11 GB, free: 34.02 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.6744, allocations: 25.16 kB / 1.11 GB, free: 34.02 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005937/0.675, allocations: 397.6 kB / 1.111 GB, free: 33.81 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.675, allocations: 0 / 1.111 GB, free: 33.81 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.675, allocations: 11.44 kB / 1.111 GB, free: 33.8 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.675, allocations: 6.781 kB / 1.111 GB, free: 33.8 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.6754, allocations: 274.6 kB / 1.111 GB, free: 33.71 MB / 0.9948 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.001378/0.6768, allocations: 1.137 MB / 1.112 GB, free: 32.92 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.6771, allocations: 182.2 kB / 1.112 GB, free: 32.85 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.6773, allocations: 113.7 kB / 1.112 GB, free: 32.81 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005087/0.6778, allocations: 139.5 kB / 1.113 GB, free: 32.79 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.6778, allocations: 37.5 kB / 1.113 GB, free: 32.75 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=15): time 1.934e-06/0.6778, allocations: 0 / 1.113 GB, free: 32.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=15): time 0.0007505/0.6786, allocations: 354.8 kB / 1.113 GB, free: 32.63 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.6786, allocations: 52.75 kB / 1.113 GB, free: 32.57 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002941/0.6789, allocations: 321.9 kB / 1.113 GB, free: 32.4 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.6789, allocations: 31.05 kB / 1.113 GB, free: 32.36 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.679, allocations: 191.8 kB / 1.114 GB, free: 32.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.902e-05/0.6791, allocations: 49.09 kB / 1.114 GB, free: 32.16 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.6791, allocations: 48.92 kB / 1.114 GB, free: 32.13 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.493e-05/0.6792, allocations: 339.4 kB / 1.114 GB, free: 31.81 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.6793, allocations: 85.41 kB / 1.114 GB, free: 31.79 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.6795, allocations: 236.3 kB / 1.114 GB, free: 31.61 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.6798, allocations: 234 kB / 1.115 GB, free: 31.49 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.6799, allocations: 1.062 kB / 1.115 GB, free: 31.49 MB / 0.9948 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004344/0.6803, allocations: 293.9 kB / 1.115 GB, free: 31.37 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.6803, allocations: 8.109 kB / 1.115 GB, free: 31.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.6803, allocations: 1.062 kB / 1.115 GB, free: 31.37 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.6803, allocations: 2.625 kB / 1.115 GB, free: 31.37 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.6805, allocations: 38.88 kB / 1.115 GB, free: 31.37 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.6805, allocations: 3.5 kB / 1.115 GB, free: 31.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.6806, allocations: 37.09 kB / 1.115 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.6807, allocations: 14.08 kB / 1.115 GB, free: 31.34 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 0.0001161/0.6808, allocations: 149 kB / 1.115 GB, free: 31.21 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.998e-05/0.6809, allocations: 34.47 kB / 1.115 GB, free: 31.19 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005034/0.6814, allocations: 312.4 kB / 1.115 GB, free: 31.06 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.6814, allocations: 3.062 kB / 1.115 GB, free: 31.06 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.6814, allocations: 0 / 1.115 GB, free: 31.06 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6814, allocations: 0.75 kB / 1.115 GB, free: 31.06 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008787/0.6822, allocations: 0.7525 MB / 1.116 GB, free: 30.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.6823, allocations: 4.156 kB / 1.116 GB, free: 30.59 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.6824, allocations: 35.92 kB / 1.116 GB, free: 30.58 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.6824, allocations: 3.844 kB / 1.116 GB, free: 30.58 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.6824, allocations: 7.891 kB / 1.116 GB, free: 30.58 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.6824, allocations: 3.688 kB / 1.116 GB, free: 30.58 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.6824, allocations: 14.58 kB / 1.116 GB, free: 30.57 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.6828, allocations: 393.9 kB / 1.117 GB, free: 30.31 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.6829, allocations: 56.8 kB / 1.117 GB, free: 30.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.6829, allocations: 3.594 kB / 1.117 GB, free: 30.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.683, allocations: 16.64 kB / 1.117 GB, free: 30.28 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.6831, allocations: 29.91 kB / 1.117 GB, free: 30.27 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.6831, allocations: 9.422 kB / 1.117 GB, free: 30.27 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001637/0.6833, allocations: 230.5 kB / 1.117 GB, free: 30.14 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6833, allocations: 0 / 1.117 GB, free: 30.14 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000655/0.6839, allocations: 123.3 kB / 1.117 GB, free: 30.11 MB / 0.9948 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.0009738/0.6849, allocations: 1.049 MB / 1.118 GB, free: 29.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004432/0.6853, allocations: 222.8 kB / 1.118 GB, free: 29.23 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6853, allocations: 1.125 kB / 1.118 GB, free: 29.23 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.6855, allocations: 111.8 kB / 1.118 GB, free: 29.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006449/0.6862, allocations: 167.4 kB / 1.118 GB, free: 29.16 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.6893, allocations: 3.044 MB / 1.121 GB, free: 27.18 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.6894, allocations: 183.7 kB / 1.122 GB, free: 27.09 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002788/0.6897, allocations: 92.59 kB / 1.122 GB, free: 27.07 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/0.6899, allocations: 102 kB / 1.122 GB, free: 27 MB / 0.9948 GB Notification: Performance of SimCode: time 2.174e-06/0.6899, allocations: 0 / 1.122 GB, free: 27 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03416/0.724, allocations: 11.83 MB / 1.133 GB, free: 25.18 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.146/7.87, allocations: 6.047 kB / 1.133 GB, free: 25.18 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 12.153708100318909]