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.004923/0.004923, allocations: 98.36 kB / 15.73 MB, free: 6.062 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.001399/0.001399, allocations: 203.9 kB / 16.68 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.364/2.364, allocations: 437.1 MB / 0.7106 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 67.89 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2485, allocations: 151.6 MB / 1.166 GB, free: 7.25 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6145/0.8631, allocations: 169.4 MB / 1.332 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.007846/0.871, allocations: 7.141 MB / 1.339 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002471/0.8712, allocations: 12.25 kB / 1.339 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0004514/0.8717, allocations: 167.6 kB / 1.339 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.002532/0.8743, allocations: 1.266 MB / 1.34 GB, free: 12.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.8756, allocations: 0.6267 MB / 1.341 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007434/0.8764, allocations: 0.7634 MB / 1.341 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.8768, allocations: 293.7 kB / 1.342 GB, free: 11.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009186/0.8777, allocations: 0.5785 MB / 1.342 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006472/0.8783, allocations: 420.9 kB / 1.343 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.437e-05/0.8784, allocations: 24.75 kB / 1.343 GB, free: 10.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001701/0.8801, allocations: 1.24 MB / 1.344 GB, free: 10.42 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.8802, allocations: 128.8 kB / 1.344 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.8804, allocations: 174.1 kB / 1.344 GB, free: 10.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.8815, allocations: 0.9033 MB / 1.345 GB, free: 9.957 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8815, allocations: 4 kB / 1.345 GB, free: 9.953 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.8815, allocations: 0 / 1.345 GB, free: 9.953 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.8816, allocations: 0 / 1.345 GB, free: 9.953 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.0009061/0.8825, allocations: 0.7093 MB / 1.346 GB, free: 9.375 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.8825, allocations: 9.594 kB / 1.346 GB, free: 9.375 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.3e-05/0.8826, allocations: 66.58 kB / 1.346 GB, free: 9.316 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000887/0.8835, allocations: 126.1 kB / 1.346 GB, free: 9.289 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.8839, allocations: 345.4 kB / 1.346 GB, free: 9.008 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.884, allocations: 54.06 kB / 1.346 GB, free: 8.965 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.118e-05/0.8841, allocations: 25.81 kB / 1.346 GB, free: 8.957 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.8847, allocations: 368.7 kB / 1.347 GB, free: 8.785 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.8847, allocations: 0 / 1.347 GB, free: 8.785 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/0.8847, allocations: 11.22 kB / 1.347 GB, free: 8.777 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.8847, allocations: 9.531 kB / 1.347 GB, free: 8.773 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004917/0.8852, allocations: 275 kB / 1.347 GB, free: 8.684 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.001653/0.8869, allocations: 1.493 MB / 1.348 GB, free: 7.508 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004083/0.8873, allocations: 196 kB / 1.349 GB, free: 7.434 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002032/0.8875, allocations: 120.3 kB / 1.349 GB, free: 7.391 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008721/0.8884, allocations: 0.5019 MB / 1.349 GB, free: 6.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.8884, allocations: 31.88 kB / 1.349 GB, free: 6.871 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.8884, allocations: 1.344 kB / 1.349 GB, free: 6.871 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.00085/0.8893, allocations: 363 kB / 1.35 GB, free: 6.742 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.8893, allocations: 56.42 kB / 1.35 GB, free: 6.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.8896, allocations: 314.5 kB / 1.35 GB, free: 6.512 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.8897, allocations: 30.83 kB / 1.35 GB, free: 6.477 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.8898, allocations: 186.7 kB / 1.35 GB, free: 6.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.8899, allocations: 55.19 kB / 1.35 GB, free: 6.277 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.251e-05/0.89, allocations: 48.36 kB / 1.35 GB, free: 6.246 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.8901, allocations: 337.8 kB / 1.351 GB, free: 5.922 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.8903, allocations: 87.17 kB / 1.351 GB, free: 5.898 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.8905, allocations: 144 kB / 1.351 GB, free: 5.816 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003979/0.8909, allocations: 244.8 kB / 1.351 GB, free: 5.688 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.8909, allocations: 1.375 kB / 1.351 GB, free: 5.688 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005604/0.8915, allocations: 281.4 kB / 1.351 GB, free: 5.574 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.8915, allocations: 8.109 kB / 1.351 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.8915, allocations: 2.125 kB / 1.351 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.8916, allocations: 2.281 kB / 1.351 GB, free: 5.574 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.8918, allocations: 43.39 kB / 1.351 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.8918, allocations: 2.656 kB / 1.351 GB, free: 5.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.892, allocations: 27.91 kB / 1.351 GB, free: 5.555 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.892, allocations: 19.52 kB / 1.351 GB, free: 5.547 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.000146/0.8922, allocations: 156.2 kB / 1.352 GB, free: 5.406 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.8923, allocations: 30.84 kB / 1.352 GB, free: 5.391 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006379/0.8929, allocations: 310.5 kB / 1.352 GB, free: 5.266 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.8929, allocations: 2.344 kB / 1.352 GB, free: 5.266 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.8929, allocations: 4 kB / 1.352 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.8929, allocations: 1.031 kB / 1.352 GB, free: 5.262 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.8941, allocations: 0.8097 MB / 1.353 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.8941, allocations: 4.766 kB / 1.353 GB, free: 4.738 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.8943, allocations: 35.03 kB / 1.353 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.8943, allocations: 6.062 kB / 1.353 GB, free: 4.73 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.8943, allocations: 14.92 kB / 1.353 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.8943, allocations: 2.125 kB / 1.353 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.8944, allocations: 1.969 kB / 1.353 GB, free: 4.723 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/0.895, allocations: 402 kB / 1.353 GB, free: 4.453 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.8951, allocations: 139.7 kB / 1.353 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.8952, allocations: 7.688 kB / 1.353 GB, free: 4.324 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.8954, allocations: 16.42 kB / 1.353 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.8954, allocations: 16.67 kB / 1.353 GB, free: 4.316 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.8955, allocations: 13.28 kB / 1.353 GB, free: 4.312 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002004/0.8957, allocations: 231.2 kB / 1.354 GB, free: 4.191 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8957, allocations: 4 kB / 1.354 GB, free: 4.188 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004395/0.8961, allocations: 117.8 kB / 1.354 GB, free: 4.164 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.001226/0.8974, allocations: 1.058 MB / 1.355 GB, free: 3.328 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.8978, allocations: 222.4 kB / 1.355 GB, free: 3.266 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.8978, allocations: 1.312 kB / 1.355 GB, free: 3.266 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.8981, allocations: 118.7 kB / 1.355 GB, free: 3.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007778/0.8988, allocations: 164.9 kB / 1.355 GB, free: 3.176 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.9024, allocations: 3.056 MB / 1.358 GB, free: 1.184 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.9028, allocations: 0.7849 MB / 1.359 GB, free: 492 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002471/0.903, allocations: 91.42 kB / 1.359 GB, free: 460 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.9032, allocations: 101.8 kB / 1.359 GB, free: 388 kB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.9032, allocations: 0 / 1.359 GB, free: 388 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.565/3.468, allocations: 10.52 MB / 1.369 GB, free: 11.7 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/16.35, allocations: 0.9375 kB / 1.369 GB, free: 11.7 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=400 --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