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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007785/0.007785, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001565/0.001565, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.794/2.794, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 59.91 kB / 1.018 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.348, allocations: 151.6 MB / 1.166 GB, free: 7.223 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.9446/1.293, allocations: 169.4 MB / 1.332 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0132/1.306, allocations: 7.146 MB / 1.339 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000921/1.307, allocations: 15.81 kB / 1.339 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009177/1.308, allocations: 180 kB / 1.339 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005005/1.313, allocations: 1.305 MB / 1.34 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002789/1.316, allocations: 0.625 MB / 1.341 GB, free: 11.77 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001617/1.317, allocations: 0.7695 MB / 1.341 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006186/1.318, allocations: 287 kB / 1.342 GB, free: 11.3 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/1.32, allocations: 0.5992 MB / 1.342 GB, free: 11.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001295/1.321, allocations: 422.8 kB / 1.343 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.687e-05/1.321, allocations: 26.72 kB / 1.343 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002977/1.324, allocations: 1.249 MB / 1.344 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002331/1.325, allocations: 120 kB / 1.344 GB, free: 10.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003618/1.325, allocations: 180.1 kB / 1.344 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.002561/1.328, allocations: 0.9007 MB / 1.345 GB, free: 9.902 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.328, allocations: 2.531 kB / 1.345 GB, free: 9.902 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.934e-06/1.328, allocations: 1.375 kB / 1.345 GB, free: 9.902 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.992e-05/1.328, allocations: 0 / 1.345 GB, free: 9.902 MB / 1.029 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.00149/1.329, allocations: 0.693 MB / 1.346 GB, free: 9.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.329, allocations: 13.91 kB / 1.346 GB, free: 9.336 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.195e-05/1.329, allocations: 60.19 kB / 1.346 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/1.331, allocations: 129.9 kB / 1.346 GB, free: 9.25 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007641/1.331, allocations: 344.4 kB / 1.346 GB, free: 8.973 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.284e-05/1.331, allocations: 54.48 kB / 1.346 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-05/1.332, allocations: 26.22 kB / 1.346 GB, free: 8.918 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007645/1.332, allocations: 364.1 kB / 1.347 GB, free: 8.746 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/1.332, allocations: 1.094 kB / 1.347 GB, free: 8.746 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.781e-05/1.332, allocations: 11.28 kB / 1.347 GB, free: 8.738 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/1.332, allocations: 10.59 kB / 1.347 GB, free: 8.734 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006193/1.333, allocations: 278 kB / 1.347 GB, free: 8.641 MB / 1.029 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.002181/1.335, allocations: 1.484 MB / 1.348 GB, free: 7.473 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/1.336, allocations: 203.3 kB / 1.349 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/1.336, allocations: 117.2 kB / 1.349 GB, free: 7.352 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009787/1.337, allocations: 0.5036 MB / 1.349 GB, free: 6.871 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.376e-05/1.337, allocations: 32.03 kB / 1.349 GB, free: 6.832 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.834e-06/1.337, allocations: 0 / 1.349 GB, free: 6.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.001023/1.338, allocations: 360.1 kB / 1.35 GB, free: 6.707 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/1.338, allocations: 52.72 kB / 1.35 GB, free: 6.645 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/1.338, allocations: 316.5 kB / 1.35 GB, free: 6.477 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/1.338, allocations: 32.11 kB / 1.35 GB, free: 6.441 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/1.339, allocations: 180.8 kB / 1.35 GB, free: 6.289 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.727e-05/1.339, allocations: 50.39 kB / 1.35 GB, free: 6.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/1.339, allocations: 48.5 kB / 1.35 GB, free: 6.219 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.339, allocations: 341.6 kB / 1.351 GB, free: 5.891 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/1.339, allocations: 83.02 kB / 1.351 GB, free: 5.871 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/1.339, allocations: 144.8 kB / 1.351 GB, free: 5.789 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/1.34, allocations: 240.3 kB / 1.351 GB, free: 5.668 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/1.34, allocations: 0 / 1.351 GB, free: 5.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006331/1.341, allocations: 291.6 kB / 1.351 GB, free: 5.547 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.341, allocations: 8.25 kB / 1.351 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.341, allocations: 1.094 kB / 1.351 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/1.341, allocations: 3.406 kB / 1.351 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/1.341, allocations: 45.42 kB / 1.351 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/1.341, allocations: 2.812 kB / 1.351 GB, free: 5.539 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002347/1.341, allocations: 35.91 kB / 1.351 GB, free: 5.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.262e-05/1.341, allocations: 13.47 kB / 1.351 GB, free: 5.516 MB / 1.029 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.0001754/1.341, allocations: 149.2 kB / 1.352 GB, free: 5.383 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/1.341, allocations: 24.88 kB / 1.352 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007015/1.342, allocations: 321 kB / 1.352 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/1.342, allocations: 1.25 kB / 1.352 GB, free: 5.234 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.342, allocations: 5.375 kB / 1.352 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.342, allocations: 2.531 kB / 1.352 GB, free: 5.23 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/1.344, allocations: 0.805 MB / 1.353 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.344, allocations: 1.469 kB / 1.353 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/1.344, allocations: 33.77 kB / 1.353 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.595e-06/1.344, allocations: 2.188 kB / 1.353 GB, free: 4.711 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/1.344, allocations: 15.59 kB / 1.353 GB, free: 4.703 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/1.344, allocations: 9.188 kB / 1.353 GB, free: 4.699 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.344, allocations: 6.938 kB / 1.353 GB, free: 4.695 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009976/1.345, allocations: 403.1 kB / 1.353 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/1.345, allocations: 135.7 kB / 1.353 GB, free: 4.305 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/1.345, allocations: 6.594 kB / 1.353 GB, free: 4.301 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/1.346, allocations: 16.88 kB / 1.353 GB, free: 4.297 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/1.346, allocations: 15.81 kB / 1.353 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/1.346, allocations: 10.44 kB / 1.353 GB, free: 4.293 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004268/1.346, allocations: 225.9 kB / 1.354 GB, free: 4.176 MB / 1.029 GB Notification: Performance of sort global known variables: time 4.01e-07/1.346, allocations: 4 kB / 1.354 GB, free: 4.172 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001021/1.347, allocations: 118.3 kB / 1.354 GB, free: 4.148 MB / 1.029 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.002364/1.35, allocations: 1.065 MB / 1.355 GB, free: 3.305 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008675/1.351, allocations: 224.2 kB / 1.355 GB, free: 3.242 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.351, allocations: 0 / 1.355 GB, free: 3.242 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003953/1.351, allocations: 119.5 kB / 1.355 GB, free: 3.207 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001414/1.352, allocations: 159.8 kB / 1.355 GB, free: 3.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006895/1.359, allocations: 3.036 MB / 1.358 GB, free: 1.188 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007911/1.36, allocations: 0.7889 MB / 1.359 GB, free: 492 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0006142/1.361, allocations: 101.1 kB / 1.359 GB, free: 448 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/1.361, allocations: 101.4 kB / 1.359 GB, free: 376 kB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/1.361, allocations: 0 / 1.359 GB, free: 376 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04675/1.408, allocations: 10.51 MB / 1.369 GB, free: 11.67 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.953/9.361, allocations: 9.672 kB / 1.369 GB, free: 11.66 MB / 1.045 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_EntropyFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.EntropyFlowRate_res.mat","/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) Reference file matches