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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005309/0.005309, allocations: 104 kB / 15.74 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 189.2 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.423/2.423, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 71.88 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6245/0.6263, allocations: 159.1 MB / 1.22 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1654/0.7918, allocations: 169.4 MB / 1.386 GB, free: 7.965 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.007424/0.7992, allocations: 7.142 MB / 1.393 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.7994, allocations: 11.94 kB / 1.393 GB, free: 0.7891 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.7998, allocations: 170.8 kB / 1.393 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002152/0.802, allocations: 1.264 MB / 1.394 GB, free: 15.35 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.8032, allocations: 0.6372 MB / 1.395 GB, free: 14.72 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0007548/0.804, allocations: 0.7601 MB / 1.395 GB, free: 13.95 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003854/0.8044, allocations: 287.3 kB / 1.396 GB, free: 13.67 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008325/0.8052, allocations: 0.5681 MB / 1.396 GB, free: 13.1 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006288/0.8058, allocations: 422.5 kB / 1.397 GB, free: 12.68 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.8059, allocations: 28 kB / 1.397 GB, free: 12.66 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.8076, allocations: 1.243 MB / 1.398 GB, free: 11.41 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.8077, allocations: 115.7 kB / 1.398 GB, free: 11.3 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.8079, allocations: 179.1 kB / 1.398 GB, free: 11.12 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.809, allocations: 0.9188 MB / 1.399 GB, free: 10.2 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.809, allocations: 0 / 1.399 GB, free: 10.2 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.022e-06/0.809, allocations: 0 / 1.399 GB, free: 10.2 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.809, allocations: 0 / 1.399 GB, free: 10.2 MB / 1.123 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.0008693/0.8099, allocations: 0.7042 MB / 1.4 GB, free: 9.449 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.8099, allocations: 8.031 kB / 1.4 GB, free: 9.441 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.445e-05/0.81, allocations: 62.55 kB / 1.4 GB, free: 9.371 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008666/0.8109, allocations: 127.6 kB / 1.4 GB, free: 9.246 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000448/0.8113, allocations: 345.4 kB / 1.4 GB, free: 8.871 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.387e-05/0.8114, allocations: 54.27 kB / 1.4 GB, free: 8.812 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.177e-05/0.8115, allocations: 24 kB / 1.4 GB, free: 8.789 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005897/0.8121, allocations: 374.1 kB / 1.401 GB, free: 8.406 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.8121, allocations: 0 / 1.401 GB, free: 8.406 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.8121, allocations: 12 kB / 1.401 GB, free: 8.395 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.8121, allocations: 8 kB / 1.401 GB, free: 8.387 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005011/0.8126, allocations: 274 kB / 1.401 GB, free: 8.117 MB / 1.123 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.001685/0.8143, allocations: 1.497 MB / 1.402 GB, free: 6.496 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/0.8147, allocations: 201.1 kB / 1.403 GB, free: 6.293 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.8149, allocations: 120.8 kB / 1.403 GB, free: 6.172 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008725/0.8158, allocations: 0.5091 MB / 1.403 GB, free: 5.57 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.8159, allocations: 30.56 kB / 1.403 GB, free: 5.531 MB / 1.123 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.8159, allocations: 0 / 1.403 GB, free: 5.531 MB / 1.123 GB Notification: Performance of matching and sorting (n=15): time 0.0008524/0.8167, allocations: 357.2 kB / 1.404 GB, free: 5.176 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.8168, allocations: 59.28 kB / 1.404 GB, free: 5.105 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002974/0.8171, allocations: 320.5 kB / 1.404 GB, free: 4.785 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.8171, allocations: 29.7 kB / 1.404 GB, free: 4.75 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.8172, allocations: 188.3 kB / 1.404 GB, free: 4.562 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.8173, allocations: 51.48 kB / 1.404 GB, free: 4.512 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.989e-05/0.8174, allocations: 45.7 kB / 1.404 GB, free: 4.461 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.8175, allocations: 346.7 kB / 1.405 GB, free: 4.113 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.8177, allocations: 83.94 kB / 1.405 GB, free: 4.031 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.8179, allocations: 149.9 kB / 1.405 GB, free: 3.863 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.8184, allocations: 234.6 kB / 1.405 GB, free: 3.613 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.8184, allocations: 0 / 1.405 GB, free: 3.613 MB / 1.123 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005495/0.8189, allocations: 289.3 kB / 1.405 GB, free: 3.324 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.8189, allocations: 4 kB / 1.405 GB, free: 3.32 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.819, allocations: 4 kB / 1.405 GB, free: 3.316 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.819, allocations: 0 / 1.405 GB, free: 3.316 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.8192, allocations: 43.91 kB / 1.405 GB, free: 3.273 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.8192, allocations: 4 kB / 1.405 GB, free: 3.27 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.8194, allocations: 27.83 kB / 1.405 GB, free: 3.242 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.8194, allocations: 12 kB / 1.405 GB, free: 3.23 MB / 1.123 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.0001496/0.8196, allocations: 168.8 kB / 1.406 GB, free: 3.059 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.901e-05/0.8197, allocations: 31.81 kB / 1.406 GB, free: 3.027 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006459/0.8203, allocations: 304.2 kB / 1.406 GB, free: 2.715 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.8203, allocations: 4 kB / 1.406 GB, free: 2.711 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.8203, allocations: 0 / 1.406 GB, free: 2.711 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.8204, allocations: 0 / 1.406 GB, free: 2.711 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.8215, allocations: 0.8083 MB / 1.407 GB, free: 1.824 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.8216, allocations: 4.219 kB / 1.407 GB, free: 1.82 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.8217, allocations: 39.92 kB / 1.407 GB, free: 1.781 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.8217, allocations: 3.938 kB / 1.407 GB, free: 1.777 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.8218, allocations: 7.984 kB / 1.407 GB, free: 1.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.8218, allocations: 4 kB / 1.407 GB, free: 1.766 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8218, allocations: 4 kB / 1.407 GB, free: 1.762 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/0.8224, allocations: 403.6 kB / 1.407 GB, free: 1.332 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/0.8225, allocations: 132.8 kB / 1.407 GB, free: 1.184 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.8225, allocations: 19.86 kB / 1.407 GB, free: 1.164 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.8228, allocations: 19.98 kB / 1.407 GB, free: 1.145 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.8228, allocations: 15.92 kB / 1.407 GB, free: 1.129 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.8228, allocations: 12 kB / 1.407 GB, free: 1.117 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002036/0.8231, allocations: 227 kB / 1.408 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8231, allocations: 0 / 1.408 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004065/0.8235, allocations: 123.7 kB / 1.408 GB, free: 0.7773 MB / 1.123 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.001225/0.8247, allocations: 1.07 MB / 1.409 GB, free: 15.66 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0004603/0.8252, allocations: 224 kB / 1.409 GB, free: 15.45 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.8252, allocations: 0 / 1.409 GB, free: 15.45 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002195/0.8254, allocations: 111.9 kB / 1.409 GB, free: 15.34 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007703/0.8262, allocations: 164.8 kB / 1.409 GB, free: 15.18 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00357/0.8298, allocations: 3.036 MB / 1.412 GB, free: 11.99 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.8301, allocations: 0.7834 MB / 1.413 GB, free: 11.18 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002288/0.8304, allocations: 94.8 kB / 1.413 GB, free: 11.08 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.8305, allocations: 103.4 kB / 1.413 GB, free: 10.98 MB / 1.139 GB Notification: Performance of SimCode: time 2.11e-07/0.8305, allocations: 0 / 1.413 GB, free: 10.98 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.427/2.257, allocations: 10.52 MB / 1.423 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.69/23.95, allocations: 18.83 kB / 1.423 GB, free: 0.6367 MB / 1.139 GB (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) 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) Reference file matches