Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",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.001473/0.001473, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001653/0.001653, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.482/1.482, allocations: 222.9 MB / 239.9 MB, free: 4.543 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.814/2.814, allocations: 437 MB / 0.7101 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 0.8689 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.787/0.7883, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1958/0.9841, allocations: 165.1 MB / 1.178 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003156/0.9873, allocations: 1.526 MB / 1.18 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005832/0.9879, allocations: 7.938 kB / 1.18 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006198/0.9885, allocations: 135.2 kB / 1.18 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.002073/0.9906, allocations: 0.6614 MB / 1.18 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.9925, allocations: 0.5525 MB / 1.181 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001027/0.9935, allocations: 0.7089 MB / 1.182 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004826/0.994, allocations: 225.1 kB / 1.182 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008061/0.9948, allocations: 334.7 kB / 1.182 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004287/0.9953, allocations: 243 kB / 1.182 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 6.531e-05/0.9953, allocations: 24 kB / 1.182 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.9969, allocations: 0.8922 MB / 1.183 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.9971, allocations: 111.7 kB / 1.183 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003054/0.9974, allocations: 167.2 kB / 1.184 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.999, allocations: 0.7713 MB / 1.184 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.999, allocations: 0 / 1.184 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.144e-06/0.999, allocations: 0 / 1.184 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.389e-05/0.999, allocations: 0 / 1.184 GB, free: 6.656 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001326/1, allocations: 0.6544 MB / 1.185 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/1, allocations: 8.031 kB / 1.185 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.341e-05/1, allocations: 58.55 kB / 1.185 GB, free: 5.879 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001254/1.002, allocations: 155.4 kB / 1.185 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004905/1.002, allocations: 301.7 kB / 1.185 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/1.002, allocations: 20.44 kB / 1.186 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/1.002, allocations: 27.97 kB / 1.186 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/1.003, allocations: 279.4 kB / 1.186 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/1.003, allocations: 0 / 1.186 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/1.003, allocations: 12 kB / 1.186 GB, free: 5.039 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/1.003, allocations: 4 kB / 1.186 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/1.003, allocations: 203.7 kB / 1.186 GB, free: 4.836 MB / 0.9356 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.001443/1.005, allocations: 1.209 MB / 1.187 GB, free: 3.523 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/1.005, allocations: 138.5 kB / 1.187 GB, free: 3.379 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/1.005, allocations: 88.81 kB / 1.187 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006982/1.006, allocations: 311.2 kB / 1.188 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/1.006, allocations: 30.56 kB / 1.188 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/1.006, allocations: 0 / 1.188 GB, free: 2.891 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0007956/1.007, allocations: 281.4 kB / 1.188 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/1.007, allocations: 55.41 kB / 1.188 GB, free: 2.543 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/1.007, allocations: 316.5 kB / 1.188 GB, free: 2.219 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/1.007, allocations: 29.7 kB / 1.188 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/1.007, allocations: 180.2 kB / 1.189 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/1.007, allocations: 59.19 kB / 1.189 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/1.008, allocations: 41.7 kB / 1.189 GB, free: 1.898 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.008, allocations: 342.8 kB / 1.189 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/1.008, allocations: 59.95 kB / 1.189 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/1.008, allocations: 124.4 kB / 1.189 GB, free: 1.359 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/1.008, allocations: 199.5 kB / 1.189 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.008, allocations: 0 / 1.189 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004707/1.009, allocations: 245.2 kB / 1.19 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.009, allocations: 8 kB / 1.19 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.009, allocations: 0 / 1.19 GB, free: 0.8945 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/1.009, allocations: 7.938 kB / 1.19 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/1.009, allocations: 43.91 kB / 1.19 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/1.009, allocations: 4 kB / 1.19 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/1.009, allocations: 35.67 kB / 1.19 GB, free: 0.8047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/1.009, allocations: 12 kB / 1.19 GB, free: 0.793 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001536/1.01, allocations: 153.8 kB / 1.19 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/1.01, allocations: 27.72 kB / 1.19 GB, free: 0.6055 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/1.01, allocations: 218.4 kB / 1.19 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.01, allocations: 0 / 1.19 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.01, allocations: 4 kB / 1.19 GB, free: 396 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.01, allocations: 3.984 kB / 1.19 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/1.011, allocations: 0.6837 MB / 1.191 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.011, allocations: 4.031 kB / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/1.011, allocations: 35.92 kB / 1.191 GB, free: 15.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/1.011, allocations: 3.938 kB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.806e-05/1.011, allocations: 4 kB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/1.011, allocations: 4 kB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.011, allocations: 0 / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006623/1.012, allocations: 436.9 kB / 1.191 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001264/1.012, allocations: 128.6 kB / 1.191 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/1.012, allocations: 8.062 kB / 1.191 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/1.013, allocations: 16.12 kB / 1.191 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/1.013, allocations: 19.91 kB / 1.191 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/1.013, allocations: 8 kB / 1.191 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002164/1.013, allocations: 227 kB / 1.192 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2e-07/1.013, allocations: 0 / 1.192 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00041/1.013, allocations: 76 kB / 1.192 GB, free: 14.61 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 1 (senDyn.d) * 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 (15): * Single equations (assignments): 15 * 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.001221/1.015, allocations: 1.029 MB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004595/1.015, allocations: 187.7 kB / 1.193 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.015, allocations: 0 / 1.193 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/1.015, allocations: 83.83 kB / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008895/1.016, allocations: 162.6 kB / 1.193 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/1.02, allocations: 2.994 MB / 1.196 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/1.021, allocations: 0.7756 MB / 1.197 GB, free: 9.172 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003294/1.021, allocations: 66.92 kB / 1.197 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/1.021, allocations: 87.41 kB / 1.197 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/1.021, allocations: 0 / 1.197 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02849/1.05, allocations: 8.582 MB / 1.205 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/1.05, allocations: 239 kB / 1.206 GB, free: 420 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/3.112, allocations: 0 / 1.206 GB, free: 420 kB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches