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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001077/0.001076, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001199/0.001199, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.778/2.778, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 67.89 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5842/0.5858, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1745/0.7602, allocations: 167.2 MB / 1.18 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008402/0.7687, allocations: 7.215 MB / 1.187 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004352/0.7692, allocations: 19.88 kB / 1.187 GB, free: 3.691 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.7697, allocations: 131.1 kB / 1.187 GB, free: 3.562 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002874/0.7726, allocations: 1.183 MB / 1.188 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.7741, allocations: 0.5842 MB / 1.189 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.7751, allocations: 1.057 MB / 1.19 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003691/0.7755, allocations: 246.1 kB / 1.19 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.7766, allocations: 0.5293 MB / 1.191 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007625/0.7773, allocations: 418.5 kB / 1.191 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.991e-05/0.7774, allocations: 16 kB / 1.191 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002378/0.7798, allocations: 1.473 MB / 1.193 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.7799, allocations: 123.6 kB / 1.193 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.7801, allocations: 175.1 kB / 1.193 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.7815, allocations: 0.97 MB / 1.194 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.7815, allocations: 0 / 1.194 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of FrontEnd: time 7.81e-07/0.7815, allocations: 0 / 1.194 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.7815, allocations: 0 / 1.194 GB, free: 12.8 MB / 0.9512 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.001071/0.7826, allocations: 0.6934 MB / 1.194 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.7827, allocations: 12.03 kB / 1.194 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.922e-05/0.7828, allocations: 66.53 kB / 1.195 GB, free: 11.97 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/0.7838, allocations: 127.4 kB / 1.195 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.7843, allocations: 329.1 kB / 1.195 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.924e-05/0.7843, allocations: 50.27 kB / 1.195 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/0.7844, allocations: 24 kB / 1.195 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006574/0.7851, allocations: 366.2 kB / 1.195 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.7851, allocations: 0 / 1.195 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.7851, allocations: 15.94 kB / 1.195 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.7851, allocations: 8 kB / 1.195 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005526/0.7857, allocations: 273.9 kB / 1.196 GB, free: 10.74 MB / 0.9512 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.001847/0.7875, allocations: 1.488 MB / 1.197 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/0.788, allocations: 202.5 kB / 1.197 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.7882, allocations: 116.8 kB / 1.197 GB, free: 8.801 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.7892, allocations: 0.5052 MB / 1.198 GB, free: 8.203 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.7893, allocations: 30.56 kB / 1.198 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.7893, allocations: 0 / 1.198 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0009416/0.7902, allocations: 357 kB / 1.198 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.7903, allocations: 55.39 kB / 1.198 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.7906, allocations: 316.5 kB / 1.199 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.7906, allocations: 29.7 kB / 1.199 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.7908, allocations: 191.9 kB / 1.199 GB, free: 7.195 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.7908, allocations: 47.27 kB / 1.199 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-05/0.7909, allocations: 41.7 kB / 1.199 GB, free: 7.102 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.7911, allocations: 346.8 kB / 1.199 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.7913, allocations: 87.92 kB / 1.199 GB, free: 6.668 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.7915, allocations: 149.9 kB / 1.2 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000423/0.792, allocations: 229.8 kB / 1.2 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.792, allocations: 0 / 1.2 GB, free: 6.254 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005907/0.7926, allocations: 293 kB / 1.2 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.7926, allocations: 5.406 kB / 1.2 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.7926, allocations: 4 kB / 1.2 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.7926, allocations: 4 kB / 1.2 GB, free: 5.949 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.7929, allocations: 39.91 kB / 1.2 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.7929, allocations: 4 kB / 1.2 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.7932, allocations: 43.89 kB / 1.2 GB, free: 5.863 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.7932, allocations: 12 kB / 1.2 GB, free: 5.852 MB / 0.9512 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.0001577/0.7934, allocations: 161.7 kB / 1.2 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.7935, allocations: 27.67 kB / 1.2 GB, free: 5.656 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000706/0.7942, allocations: 317.7 kB / 1.201 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.7942, allocations: 3.938 kB / 1.201 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7942, allocations: 0 / 1.201 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.7942, allocations: 0 / 1.201 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.7955, allocations: 0.8082 MB / 1.201 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.7955, allocations: 0 / 1.201 GB, free: 4.453 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.7957, allocations: 39.97 kB / 1.201 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.7957, allocations: 7.938 kB / 1.201 GB, free: 4.406 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.7958, allocations: 4 kB / 1.201 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.7958, allocations: 8.156 kB / 1.201 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.7958, allocations: 4 kB / 1.201 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000627/0.7964, allocations: 405 kB / 1.202 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.7966, allocations: 132.7 kB / 1.202 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.7966, allocations: 11.94 kB / 1.202 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.7969, allocations: 19.98 kB / 1.202 GB, free: 3.777 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.797, allocations: 15.98 kB / 1.202 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3e-05/0.797, allocations: 15.98 kB / 1.202 GB, free: 3.746 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002164/0.7972, allocations: 227 kB / 1.202 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7972, allocations: 0 / 1.202 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004968/0.7977, allocations: 119.8 kB / 1.202 GB, free: 3.41 MB / 0.9512 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.001341/0.7991, allocations: 1.063 MB / 1.203 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004863/0.7996, allocations: 219 kB / 1.204 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7996, allocations: 0 / 1.204 GB, free: 2.098 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.7998, allocations: 116.2 kB / 1.204 GB, free: 1.984 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008448/0.8007, allocations: 161.4 kB / 1.204 GB, free: 1.828 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.8046, allocations: 3.143 MB / 1.207 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.805, allocations: 0.7876 MB / 1.208 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003021/0.8053, allocations: 82.81 kB / 1.208 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.8054, allocations: 95.39 kB / 1.208 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.8055, allocations: 8 kB / 1.208 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.8264, allocations: 10.02 MB / 1.218 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.8266, allocations: 238.3 kB / 1.218 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.112/2.938, allocations: 3.938 kB / 1.218 GB, free: 3.43 MB / 0.9669 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