Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,fileNamePrefix="Buildings_latest_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.005806/0.005806, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001237/0.001237, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.814/2.814, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 1.054 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3366, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.9023/1.239, allocations: 169.4 MB / 1.373 GB, free: 15.56 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009214/1.248, allocations: 7.134 MB / 1.38 GB, free: 10.47 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006872/1.249, allocations: 11.66 kB / 1.38 GB, free: 10.46 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007405/1.25, allocations: 176.5 kB / 1.38 GB, free: 10.34 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003782/1.253, allocations: 1.264 MB / 1.381 GB, free: 9.422 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001875/1.255, allocations: 0.6323 MB / 1.382 GB, free: 8.961 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001231/1.257, allocations: 0.7586 MB / 1.383 GB, free: 8.527 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006091/1.257, allocations: 297.5 kB / 1.383 GB, free: 8.352 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001411/1.259, allocations: 0.5739 MB / 1.383 GB, free: 7.996 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009714/1.26, allocations: 423.8 kB / 1.384 GB, free: 7.754 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 7.629e-05/1.26, allocations: 26.09 kB / 1.384 GB, free: 7.754 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002288/1.262, allocations: 1.248 MB / 1.385 GB, free: 7.051 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/1.262, allocations: 111.9 kB / 1.385 GB, free: 6.977 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003032/1.263, allocations: 183.5 kB / 1.385 GB, free: 6.859 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001815/1.264, allocations: 0.9006 MB / 1.386 GB, free: 6.312 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.264, allocations: 1.438 kB / 1.386 GB, free: 6.312 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.814e-06/1.264, allocations: 0 / 1.386 GB, free: 6.312 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.698e-05/1.264, allocations: 0 / 1.386 GB, free: 6.312 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.00145/1.266, allocations: 0.6979 MB / 1.387 GB, free: 5.703 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/1.266, allocations: 9.906 kB / 1.387 GB, free: 5.703 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.048e-05/1.266, allocations: 59.98 kB / 1.387 GB, free: 5.645 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/1.267, allocations: 129.2 kB / 1.387 GB, free: 5.582 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007289/1.268, allocations: 348.8 kB / 1.387 GB, free: 5.262 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.921e-05/1.268, allocations: 50.8 kB / 1.387 GB, free: 5.215 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/1.268, allocations: 27.47 kB / 1.387 GB, free: 5.207 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007291/1.269, allocations: 368.8 kB / 1.388 GB, free: 4.969 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.269, allocations: 1.406 kB / 1.388 GB, free: 4.969 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.333e-05/1.269, allocations: 10.34 kB / 1.388 GB, free: 4.961 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/1.269, allocations: 6.562 kB / 1.388 GB, free: 4.961 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005495/1.269, allocations: 272.6 kB / 1.388 GB, free: 4.836 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.002071/1.272, allocations: 1.501 MB / 1.39 GB, free: 3.461 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004629/1.272, allocations: 189.7 kB / 1.39 GB, free: 3.359 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/1.272, allocations: 115.1 kB / 1.39 GB, free: 3.305 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009361/1.273, allocations: 0.5072 MB / 1.39 GB, free: 2.781 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/1.273, allocations: 35.66 kB / 1.39 GB, free: 2.738 MB / 1.076 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/1.273, allocations: 4 kB / 1.39 GB, free: 2.734 MB / 1.076 GB Notification: Performance of matching and sorting (n=15): time 0.000973/1.274, allocations: 355.5 kB / 1.391 GB, free: 2.555 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/1.274, allocations: 53.66 kB / 1.391 GB, free: 2.492 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/1.275, allocations: 319.7 kB / 1.391 GB, free: 2.285 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/1.275, allocations: 26.83 kB / 1.391 GB, free: 2.254 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/1.275, allocations: 189.6 kB / 1.391 GB, free: 2.082 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.7e-05/1.275, allocations: 45.86 kB / 1.391 GB, free: 2.043 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/1.275, allocations: 44.05 kB / 1.391 GB, free: 2.012 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001579/1.275, allocations: 341.3 kB / 1.392 GB, free: 1.676 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/1.275, allocations: 85.28 kB / 1.392 GB, free: 1.637 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/1.276, allocations: 145.2 kB / 1.392 GB, free: 1.531 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/1.276, allocations: 246.1 kB / 1.392 GB, free: 1.371 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.276, allocations: 1.281 kB / 1.392 GB, free: 1.371 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006473/1.277, allocations: 283.9 kB / 1.392 GB, free: 1.219 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/1.277, allocations: 5.531 kB / 1.392 GB, free: 1.219 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/1.277, allocations: 2.062 kB / 1.392 GB, free: 1.219 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.277, allocations: 10.33 kB / 1.392 GB, free: 1.211 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002315/1.277, allocations: 39.36 kB / 1.392 GB, free: 1.203 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/1.277, allocations: 6.578 kB / 1.392 GB, free: 1.203 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/1.277, allocations: 33.73 kB / 1.392 GB, free: 1.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/1.277, allocations: 9.125 kB / 1.392 GB, free: 1.18 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.0001887/1.278, allocations: 160.7 kB / 1.393 GB, free: 1.031 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/1.278, allocations: 25.47 kB / 1.393 GB, free: 1.02 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007171/1.278, allocations: 322.8 kB / 1.393 GB, free: 0.832 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/1.278, allocations: 2.344 kB / 1.393 GB, free: 0.832 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.278, allocations: 0 / 1.393 GB, free: 0.832 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.278, allocations: 1.156 kB / 1.393 GB, free: 0.832 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/1.28, allocations: 0.8028 MB / 1.394 GB, free: 192 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/1.28, allocations: 2.312 kB / 1.394 GB, free: 192 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001899/1.28, allocations: 42.38 kB / 1.394 GB, free: 176 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/1.28, allocations: 3.625 kB / 1.394 GB, free: 176 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/1.28, allocations: 11.28 kB / 1.394 GB, free: 168 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.28, allocations: 3.375 kB / 1.394 GB, free: 168 kB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.28, allocations: 2.031 kB / 1.394 GB, free: 168 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006907/1.281, allocations: 407.2 kB / 1.394 GB, free: 15.85 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/1.281, allocations: 131.5 kB / 1.394 GB, free: 15.72 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.296e-05/1.281, allocations: 10.72 kB / 1.394 GB, free: 15.71 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/1.281, allocations: 12.55 kB / 1.394 GB, free: 15.71 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.229e-05/1.281, allocations: 23.14 kB / 1.394 GB, free: 15.7 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.809e-05/1.281, allocations: 8.906 kB / 1.394 GB, free: 15.7 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0002288/1.282, allocations: 230 kB / 1.395 GB, free: 15.54 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.91e-07/1.282, allocations: 0.6562 kB / 1.395 GB, free: 15.54 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005967/1.282, allocations: 123.9 kB / 1.395 GB, free: 15.51 MB / 1.092 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.001455/1.284, allocations: 1.059 MB / 1.396 GB, free: 14.61 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005345/1.284, allocations: 224.9 kB / 1.396 GB, free: 14.51 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/1.284, allocations: 0 / 1.396 GB, free: 14.51 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/1.285, allocations: 115.9 kB / 1.396 GB, free: 14.46 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008926/1.285, allocations: 155.2 kB / 1.396 GB, free: 14.39 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004546/1.29, allocations: 3.046 MB / 1.399 GB, free: 12.13 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004166/1.29, allocations: 0.7924 MB / 1.4 GB, free: 11.38 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003166/1.291, allocations: 93.94 kB / 1.4 GB, free: 11.33 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/1.291, allocations: 101.5 kB / 1.4 GB, free: 11.25 MB / 1.092 GB Notification: Performance of SimCode: time 4.41e-07/1.291, allocations: 2.5 kB / 1.4 GB, free: 11.25 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0295/1.32, allocations: 10.65 MB / 1.411 GB, free: 5.898 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.402/9.723, allocations: 11.7 kB / 1.411 GB, free: 5.887 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_EntropyFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches