Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001386/0.001386, allocations: 108.2 kB / 17.54 MB, free: 4.746 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.00141/0.00141, allocations: 186.7 kB / 20.71 MB, free: 1.586 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.305/1.305, allocations: 225.6 MB / 249.3 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.365/2.365, allocations: 443.5 MB / 0.7304 GB, free: 13.9 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 63.89 kB / 1.059 GB, free: 0.9375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2555, allocations: 160.7 MB / 1.216 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.679/0.9345, allocations: 170.2 MB / 1.382 GB, free: 8.438 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008551/0.9431, allocations: 7.205 MB / 1.389 GB, free: 3.328 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000444/0.9435, allocations: 16.41 kB / 1.389 GB, free: 3.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005376/0.9441, allocations: 171.3 kB / 1.389 GB, free: 3.195 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.003128/0.9472, allocations: 1.312 MB / 1.39 GB, free: 2.223 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001618/0.9488, allocations: 0.6362 MB / 1.391 GB, free: 1.758 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0009999/0.9498, allocations: 0.7653 MB / 1.392 GB, free: 1.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004324/0.9502, allocations: 244.2 kB / 1.392 GB, free: 1.156 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.9515, allocations: 0.5898 MB / 1.392 GB, free: 0.7891 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008574/0.9523, allocations: 444.4 kB / 1.393 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.604e-05/0.9524, allocations: 25.66 kB / 1.393 GB, free: 0.5312 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002294/0.9547, allocations: 1.333 MB / 1.394 GB, free: 15.76 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001633/0.9548, allocations: 120 kB / 1.394 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002379/0.9551, allocations: 179.8 kB / 1.394 GB, free: 15.57 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001658/0.9567, allocations: 0.9005 MB / 1.395 GB, free: 15.02 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.9567, allocations: 0 / 1.395 GB, free: 15.02 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.273e-06/0.9567, allocations: 0 / 1.395 GB, free: 15.02 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.45e-05/0.9567, allocations: 1 kB / 1.395 GB, free: 15.02 MB / 1.076 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.001171/0.9579, allocations: 0.7174 MB / 1.396 GB, free: 14.39 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.958, allocations: 13.22 kB / 1.396 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.958e-05/0.958, allocations: 64.41 kB / 1.396 GB, free: 14.32 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009609/0.959, allocations: 128.9 kB / 1.396 GB, free: 14.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/0.9595, allocations: 336.9 kB / 1.397 GB, free: 13.95 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.572e-05/0.9596, allocations: 52.48 kB / 1.397 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.9596, allocations: 25.41 kB / 1.397 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006199/0.9603, allocations: 367 kB / 1.397 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.9603, allocations: 0 / 1.397 GB, free: 13.66 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.9603, allocations: 15.62 kB / 1.397 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.9603, allocations: 5.594 kB / 1.397 GB, free: 13.65 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.9608, allocations: 280.8 kB / 1.397 GB, free: 13.51 MB / 1.076 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.001812/0.9626, allocations: 1.49 MB / 1.399 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/0.963, allocations: 192.8 kB / 1.399 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.9633, allocations: 113.8 kB / 1.399 GB, free: 11.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009378/0.9642, allocations: 0.4983 MB / 1.4 GB, free: 11.47 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.9642, allocations: 43.23 kB / 1.4 GB, free: 11.43 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.573e-06/0.9642, allocations: 0 / 1.4 GB, free: 11.43 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.000915/0.9651, allocations: 350.9 kB / 1.4 GB, free: 11.25 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.9652, allocations: 53.34 kB / 1.4 GB, free: 11.19 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.9655, allocations: 315.9 kB / 1.4 GB, free: 10.98 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.9655, allocations: 30.8 kB / 1.4 GB, free: 10.94 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.9657, allocations: 190.2 kB / 1.4 GB, free: 10.77 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.9657, allocations: 50.47 kB / 1.401 GB, free: 10.73 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.96e-05/0.9658, allocations: 50.88 kB / 1.401 GB, free: 10.69 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.9659, allocations: 342.8 kB / 1.401 GB, free: 10.35 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.9661, allocations: 88.61 kB / 1.401 GB, free: 10.31 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.9664, allocations: 136.3 kB / 1.401 GB, free: 10.21 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.9668, allocations: 251.5 kB / 1.401 GB, free: 10.04 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.9668, allocations: 0 / 1.401 GB, free: 10.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005612/0.9673, allocations: 288.5 kB / 1.402 GB, free: 9.887 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.9673, allocations: 7.531 kB / 1.402 GB, free: 9.887 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.9673, allocations: 1.375 kB / 1.402 GB, free: 9.887 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.9674, allocations: 2.75 kB / 1.402 GB, free: 9.887 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.9676, allocations: 40.2 kB / 1.402 GB, free: 9.879 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.9676, allocations: 5.328 kB / 1.402 GB, free: 9.875 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000199/0.9678, allocations: 30.78 kB / 1.402 GB, free: 9.855 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/0.9678, allocations: 12.83 kB / 1.402 GB, free: 9.852 MB / 1.076 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.000158/0.968, allocations: 156.5 kB / 1.402 GB, free: 9.707 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.9681, allocations: 30.16 kB / 1.402 GB, free: 9.691 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006957/0.9688, allocations: 313.8 kB / 1.402 GB, free: 9.512 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.9688, allocations: 5.219 kB / 1.402 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.9688, allocations: 1.094 kB / 1.402 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.9688, allocations: 0 / 1.402 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/0.9701, allocations: 0.8102 MB / 1.403 GB, free: 8.855 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.9701, allocations: 2.875 kB / 1.403 GB, free: 8.855 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.9703, allocations: 38.62 kB / 1.403 GB, free: 8.844 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.9703, allocations: 2.688 kB / 1.403 GB, free: 8.844 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.9703, allocations: 6.75 kB / 1.403 GB, free: 8.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.9703, allocations: 6.688 kB / 1.403 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.9703, allocations: 2.75 kB / 1.403 GB, free: 8.836 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.9709, allocations: 407.2 kB / 1.403 GB, free: 8.523 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.971, allocations: 132.1 kB / 1.404 GB, free: 8.395 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.971, allocations: 10.69 kB / 1.404 GB, free: 8.387 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.9713, allocations: 12.23 kB / 1.404 GB, free: 8.383 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.9713, allocations: 16.23 kB / 1.404 GB, free: 8.375 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.9714, allocations: 12.23 kB / 1.404 GB, free: 8.371 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000208/0.9716, allocations: 226.8 kB / 1.404 GB, free: 8.227 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9716, allocations: 3.938 kB / 1.404 GB, free: 8.223 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005174/0.9721, allocations: 128.4 kB / 1.404 GB, free: 8.188 MB / 1.076 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.001277/0.9734, allocations: 1.064 MB / 1.405 GB, free: 7.285 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004781/0.9738, allocations: 218.9 kB / 1.405 GB, free: 7.184 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.9738, allocations: 1.219 kB / 1.405 GB, free: 7.184 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.9741, allocations: 112.1 kB / 1.405 GB, free: 7.133 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008315/0.9749, allocations: 164.8 kB / 1.405 GB, free: 7.047 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/0.9785, allocations: 3.047 MB / 1.408 GB, free: 4.793 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.9789, allocations: 0.7884 MB / 1.409 GB, free: 4.047 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002522/0.9792, allocations: 91.39 kB / 1.409 GB, free: 4 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001572/0.9793, allocations: 93.94 kB / 1.409 GB, free: 3.926 MB / 1.076 GB Notification: Performance of SimCode: time 8.92e-07/0.9793, allocations: 0 / 1.409 GB, free: 3.926 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03383/1.013, allocations: 10.58 MB / 1.42 GB, free: 14.52 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/8.511, allocations: 7.875 kB / 1.42 GB, free: 14.51 MB / 1.092 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv. Warning: Get data of variable senM_flow.m_flow from file Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.768295900001249]