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.001726/0.001726, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 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.002155/0.002155, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 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 1.614/1.614, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.041/3.041, allocations: 476.7 MB / 0.7678 GB, free: 9.41 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002486/0.002486, allocations: 75.89 kB / 1.113 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069/1.071, allocations: 169.9 MB / 1.279 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2387/1.31, allocations: 172.9 MB / 1.448 GB, free: 15.07 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01063/1.321, allocations: 7.192 MB / 1.455 GB, free: 7.855 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006039/1.321, allocations: 15.88 kB / 1.455 GB, free: 7.84 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000662/1.322, allocations: 174.7 kB / 1.455 GB, free: 7.668 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00376/1.326, allocations: 1.307 MB / 1.456 GB, free: 6.355 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001879/1.327, allocations: 0.6354 MB / 1.457 GB, free: 5.723 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001287/1.329, allocations: 0.7602 MB / 1.458 GB, free: 4.961 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006133/1.329, allocations: 249.5 kB / 1.458 GB, free: 4.723 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/1.331, allocations: 0.6071 MB / 1.458 GB, free: 4.113 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/1.332, allocations: 450.5 kB / 1.459 GB, free: 3.672 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 8.769e-05/1.332, allocations: 24 kB / 1.459 GB, free: 3.648 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002844/1.335, allocations: 1.344 MB / 1.46 GB, free: 2.301 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002206/1.335, allocations: 119.6 kB / 1.46 GB, free: 2.184 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0003074/1.335, allocations: 179.1 kB / 1.461 GB, free: 2.008 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002127/1.338, allocations: 0.9073 MB / 1.461 GB, free: 1.098 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 1.004e-05/1.338, allocations: 4 kB / 1.461 GB, free: 1.094 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.755e-06/1.338, allocations: 4 kB / 1.461 GB, free: 1.09 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.549e-05/1.338, allocations: 0 / 1.461 GB, free: 1.09 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.001337/1.339, allocations: 0.7081 MB / 1.462 GB, free: 336 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/1.339, allocations: 12.03 kB / 1.462 GB, free: 324 kB / 1.139 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.927e-05/1.339, allocations: 4.562 kB / 1.462 GB, free: 320 kB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.829e-05/1.339, allocations: 62.55 kB / 1.462 GB, free: 248 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/1.34, allocations: 127.6 kB / 1.462 GB, free: 120 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006091/1.341, allocations: 349.3 kB / 1.463 GB, free: 15.74 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.685e-05/1.341, allocations: 46.27 kB / 1.463 GB, free: 15.69 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/1.341, allocations: 28 kB / 1.463 GB, free: 15.66 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007293/1.342, allocations: 370.2 kB / 1.463 GB, free: 15.28 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/1.342, allocations: 4 kB / 1.463 GB, free: 15.28 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.948e-05/1.342, allocations: 12 kB / 1.463 GB, free: 15.27 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/1.342, allocations: 7.938 kB / 1.463 GB, free: 15.26 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005804/1.342, allocations: 278 kB / 1.463 GB, free: 14.98 MB / 1.154 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.002079/1.344, allocations: 1.492 MB / 1.465 GB, free: 13.36 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004825/1.345, allocations: 190.5 kB / 1.465 GB, free: 13.17 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002326/1.345, allocations: 108.8 kB / 1.465 GB, free: 13.06 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001062/1.346, allocations: 0.5053 MB / 1.466 GB, free: 12.46 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/1.346, allocations: 38.5 kB / 1.466 GB, free: 12.41 MB / 1.154 GB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/1.346, allocations: 0 / 1.466 GB, free: 12.41 MB / 1.154 GB Notification: Performance of matching and sorting (n=15): time 0.001037/1.347, allocations: 359.5 kB / 1.466 GB, free: 12.06 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/1.347, allocations: 55.41 kB / 1.466 GB, free: 11.99 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/1.348, allocations: 320.5 kB / 1.466 GB, free: 11.67 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.437e-05/1.348, allocations: 25.7 kB / 1.466 GB, free: 11.64 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/1.348, allocations: 192.2 kB / 1.467 GB, free: 11.45 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/1.348, allocations: 59.5 kB / 1.467 GB, free: 11.39 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.436e-05/1.348, allocations: 45.7 kB / 1.467 GB, free: 11.34 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001926/1.348, allocations: 338.8 kB / 1.467 GB, free: 11 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/1.348, allocations: 87.92 kB / 1.467 GB, free: 10.91 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002783/1.349, allocations: 152.1 kB / 1.467 GB, free: 10.74 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/1.349, allocations: 239.2 kB / 1.467 GB, free: 10.49 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/1.349, allocations: 0 / 1.467 GB, free: 10.49 MB / 1.154 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006596/1.35, allocations: 293.3 kB / 1.468 GB, free: 10.2 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/1.35, allocations: 4 kB / 1.468 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.35, allocations: 0 / 1.468 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.35, allocations: 4 kB / 1.468 GB, free: 10.19 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/1.35, allocations: 39.92 kB / 1.468 GB, free: 10.15 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.35, allocations: 4 kB / 1.468 GB, free: 10.14 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/1.35, allocations: 31.77 kB / 1.468 GB, free: 10.11 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/1.35, allocations: 19.98 kB / 1.468 GB, free: 10.09 MB / 1.154 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.0001802/1.351, allocations: 152 kB / 1.468 GB, free: 9.938 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/1.351, allocations: 31.81 kB / 1.468 GB, free: 9.906 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007622/1.352, allocations: 312.1 kB / 1.468 GB, free: 9.59 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/1.352, allocations: 4 kB / 1.468 GB, free: 9.586 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.352, allocations: 0 / 1.468 GB, free: 9.586 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.352, allocations: 0 / 1.468 GB, free: 9.586 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/1.353, allocations: 0.8083 MB / 1.469 GB, free: 8.699 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.475e-06/1.353, allocations: 8.219 kB / 1.469 GB, free: 8.691 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/1.353, allocations: 39.97 kB / 1.469 GB, free: 8.652 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.084e-06/1.353, allocations: 3.938 kB / 1.469 GB, free: 8.648 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.107e-05/1.353, allocations: 8 kB / 1.469 GB, free: 8.641 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/1.353, allocations: 11.88 kB / 1.469 GB, free: 8.629 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.353, allocations: 0 / 1.469 GB, free: 8.629 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006607/1.354, allocations: 397.2 kB / 1.47 GB, free: 8.203 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/1.354, allocations: 144.8 kB / 1.47 GB, free: 8.043 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/1.354, allocations: 0 / 1.47 GB, free: 8.043 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/1.354, allocations: 19.98 kB / 1.47 GB, free: 8.023 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/1.354, allocations: 20.02 kB / 1.47 GB, free: 8.004 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/1.354, allocations: 8 kB / 1.47 GB, free: 7.996 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002544/1.355, allocations: 227 kB / 1.47 GB, free: 7.777 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.355, allocations: 0 / 1.47 GB, free: 7.777 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005838/1.355, allocations: 123.8 kB / 1.47 GB, free: 7.656 MB / 1.154 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.001502/1.357, allocations: 1.062 MB / 1.471 GB, free: 6.547 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006364/1.357, allocations: 211.7 kB / 1.471 GB, free: 6.34 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/1.357, allocations: 4 kB / 1.471 GB, free: 6.336 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/1.358, allocations: 116.4 kB / 1.471 GB, free: 6.223 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009458/1.359, allocations: 145.2 kB / 1.472 GB, free: 6.082 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005261/1.364, allocations: 3.074 MB / 1.475 GB, free: 2.855 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/1.365, allocations: 0.7872 MB / 1.475 GB, free: 2.043 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0004076/1.365, allocations: 86.84 kB / 1.475 GB, free: 1.953 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002408/1.365, allocations: 103.4 kB / 1.475 GB, free: 1.852 MB / 1.154 GB Notification: Performance of SimCode: time 1.783e-06/1.365, allocations: 0 / 1.475 GB, free: 1.852 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/1.399, allocations: 10.55 MB / 1.486 GB, free: 7.496 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.972/10.37, allocations: 4.656 kB / 1.486 GB, free: 7.492 MB / 1.17 GB " [Timeout remaining time 289] (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/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: 17.174061853962485]