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.001171/0.001171, 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.00115/0.00115, 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.276/1.276, allocations: 225.6 MB / 249.3 MB, free: 3.191 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.507/2.507, allocations: 476.7 MB / 0.7628 GB, free: 15.3 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.001792/0.001792, allocations: 72.12 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7362/0.738, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1871/0.9251, allocations: 170.2 MB / 1.438 GB, free: 8.438 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.008432/0.9335, allocations: 7.208 MB / 1.445 GB, free: 2.629 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004795/0.934, allocations: 11.97 kB / 1.445 GB, free: 2.625 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0005356/0.9345, allocations: 171.1 kB / 1.445 GB, free: 2.477 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.9379, allocations: 1.307 MB / 1.446 GB, free: 1.508 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.9397, allocations: 0.6455 MB / 1.447 GB, free: 1.035 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001006/0.9407, allocations: 0.7676 MB / 1.447 GB, free: 392 kB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000413/0.9411, allocations: 245.2 kB / 1.448 GB, free: 148 kB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001223/0.9423, allocations: 0.5838 MB / 1.448 GB, free: 15.56 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008147/0.9432, allocations: 442.4 kB / 1.449 GB, free: 15.12 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 4.744e-05/0.9432, allocations: 24 kB / 1.449 GB, free: 15.1 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.9455, allocations: 1.337 MB / 1.45 GB, free: 13.76 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.9456, allocations: 123.6 kB / 1.45 GB, free: 13.64 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0001971/0.9458, allocations: 183.1 kB / 1.45 GB, free: 13.46 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.001355/0.9472, allocations: 0.9072 MB / 1.451 GB, free: 12.55 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.9472, allocations: 0 / 1.451 GB, free: 12.55 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.182e-06/0.9472, allocations: 0 / 1.451 GB, free: 12.55 MB / 1.139 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.9472, allocations: 3.938 kB / 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.0009626/0.9481, allocations: 0.6965 MB / 1.452 GB, free: 11.8 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.9482, allocations: 12.03 kB / 1.452 GB, free: 11.79 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.981e-05/0.9482, allocations: 66.53 kB / 1.452 GB, free: 11.71 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009335/0.9492, allocations: 135.6 kB / 1.452 GB, free: 11.58 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005305/0.9497, allocations: 337.4 kB / 1.452 GB, free: 11.21 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.877e-05/0.9498, allocations: 54.25 kB / 1.452 GB, free: 11.15 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.9498, allocations: 28 kB / 1.452 GB, free: 11.12 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006285/0.9505, allocations: 362.1 kB / 1.453 GB, free: 10.75 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.9505, allocations: 7.938 kB / 1.453 GB, free: 10.75 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.9505, allocations: 8 kB / 1.453 GB, free: 10.74 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.9505, allocations: 12 kB / 1.453 GB, free: 10.73 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005249/0.951, allocations: 274 kB / 1.453 GB, free: 10.46 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.001826/0.9529, allocations: 1.492 MB / 1.455 GB, free: 8.84 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003887/0.9533, allocations: 194.5 kB / 1.455 GB, free: 8.641 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.9535, allocations: 112.8 kB / 1.455 GB, free: 8.527 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009176/0.9544, allocations: 0.5014 MB / 1.455 GB, free: 7.934 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.9544, allocations: 30.56 kB / 1.455 GB, free: 7.895 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.9544, allocations: 0 / 1.455 GB, free: 7.895 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.0009189/0.9553, allocations: 365.2 kB / 1.456 GB, free: 7.531 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.9554, allocations: 51.41 kB / 1.456 GB, free: 7.469 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.9557, allocations: 316.5 kB / 1.456 GB, free: 7.152 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 3.886e-05/0.9557, allocations: 33.7 kB / 1.456 GB, free: 7.113 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.9559, allocations: 184.2 kB / 1.456 GB, free: 6.93 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.458e-05/0.9559, allocations: 55.53 kB / 1.456 GB, free: 6.875 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.879e-05/0.956, allocations: 41.7 kB / 1.456 GB, free: 6.828 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.9561, allocations: 342.8 kB / 1.457 GB, free: 6.484 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.9563, allocations: 91.92 kB / 1.457 GB, free: 6.395 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.9566, allocations: 147.5 kB / 1.457 GB, free: 6.23 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/0.957, allocations: 233.8 kB / 1.457 GB, free: 5.98 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.957, allocations: 0 / 1.457 GB, free: 5.98 MB / 1.139 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005919/0.9576, allocations: 293.1 kB / 1.457 GB, free: 5.691 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.9576, allocations: 5.875 kB / 1.457 GB, free: 5.688 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.9576, allocations: 4 kB / 1.457 GB, free: 5.684 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.9576, allocations: 4 kB / 1.457 GB, free: 5.68 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.9579, allocations: 47.84 kB / 1.458 GB, free: 5.633 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.9579, allocations: 4 kB / 1.458 GB, free: 5.629 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.9581, allocations: 28.02 kB / 1.458 GB, free: 5.602 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.9581, allocations: 16 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.0001634/0.9582, allocations: 157.6 kB / 1.458 GB, free: 5.422 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.9583, allocations: 27.81 kB / 1.458 GB, free: 5.395 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006871/0.959, allocations: 318.5 kB / 1.458 GB, free: 5.07 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.959, allocations: 3.984 kB / 1.458 GB, free: 5.066 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.959, allocations: 4 kB / 1.458 GB, free: 5.062 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.9591, allocations: 0 / 1.458 GB, free: 5.062 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.9603, allocations: 0.8045 MB / 1.459 GB, free: 4.18 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.9603, allocations: 0 / 1.459 GB, free: 4.18 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.9605, allocations: 35.92 kB / 1.459 GB, free: 4.145 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.9605, allocations: 7.938 kB / 1.459 GB, free: 4.137 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.9605, allocations: 8 kB / 1.459 GB, free: 4.129 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.9605, allocations: 3.984 kB / 1.459 GB, free: 4.125 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.9605, allocations: 7.984 kB / 1.459 GB, free: 4.117 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005888/0.9611, allocations: 401.3 kB / 1.459 GB, free: 3.688 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.9613, allocations: 140.8 kB / 1.459 GB, free: 3.531 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.9613, allocations: 7.938 kB / 1.459 GB, free: 3.523 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.9615, allocations: 19.98 kB / 1.459 GB, free: 3.504 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.9616, allocations: 23.91 kB / 1.459 GB, free: 3.48 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.9616, allocations: 8 kB / 1.459 GB, free: 3.473 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002145/0.9618, allocations: 227 kB / 1.46 GB, free: 3.254 MB / 1.139 GB Notification: Performance of sort global known variables: time 7e-08/0.9618, allocations: 0 / 1.46 GB, free: 3.254 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004507/0.9623, allocations: 119.8 kB / 1.46 GB, free: 3.137 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.001274/0.9635, allocations: 1.07 MB / 1.461 GB, free: 2.023 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004868/0.964, allocations: 219.7 kB / 1.461 GB, free: 1.809 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.964, allocations: 0 / 1.461 GB, free: 1.809 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.9643, allocations: 115.8 kB / 1.461 GB, free: 1.695 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000803/0.9651, allocations: 156.1 kB / 1.461 GB, free: 1.547 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.9689, allocations: 3.052 MB / 1.464 GB, free: 14.34 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.9693, allocations: 0.7873 MB / 1.465 GB, free: 13.53 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002431/0.9696, allocations: 90.78 kB / 1.465 GB, free: 13.43 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.9697, allocations: 103.4 kB / 1.465 GB, free: 13.33 MB / 1.154 GB Notification: Performance of SimCode: time 3.01e-07/0.9697, allocations: 0 / 1.465 GB, free: 13.33 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/1.003, allocations: 10.57 MB / 1.476 GB, free: 2.945 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/8.537, 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 & /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 --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: 13.774202509999668]