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.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.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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001343/0.001343, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.426/1.426, allocations: 222.9 MB / 239.8 MB, free: 4.535 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.747/2.747, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.88 kB / 0.8687 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7349/0.7364, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1741/0.9105, allocations: 165.1 MB / 1.178 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002885/0.9135, allocations: 1.558 MB / 1.18 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003072/0.9138, allocations: 15.94 kB / 1.18 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005037/0.9143, allocations: 111.2 kB / 1.18 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001578/0.9159, allocations: 0.6653 MB / 1.18 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.9173, allocations: 0.5413 MB / 1.181 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008574/0.9182, allocations: 0.9781 MB / 1.182 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.9185, allocations: 205.1 kB / 1.182 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005136/0.9191, allocations: 306.8 kB / 1.182 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002597/0.9193, allocations: 223 kB / 1.182 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.948e-05/0.9194, allocations: 20 kB / 1.182 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.9209, allocations: 1.021 MB / 1.183 GB, free: 7.445 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.921, allocations: 99.7 kB / 1.184 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.9212, allocations: 159.2 kB / 1.184 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009352/0.9221, allocations: 0.7596 MB / 1.184 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.9221, allocations: 0 / 1.184 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.32e-07/0.9221, allocations: 0 / 1.184 GB, free: 6.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.9221, allocations: 0 / 1.184 GB, free: 6.43 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.0008741/0.923, allocations: 0.6621 MB / 1.185 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.9231, allocations: 8.031 kB / 1.185 GB, free: 5.711 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.9231, allocations: 54.55 kB / 1.185 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.9243, allocations: 151.5 kB / 1.185 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.9247, allocations: 305.7 kB / 1.186 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.9247, allocations: 20.42 kB / 1.186 GB, free: 5.145 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.9248, allocations: 24 kB / 1.186 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.9252, allocations: 275.5 kB / 1.186 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.9253, allocations: 0 / 1.186 GB, free: 4.828 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.9253, allocations: 12 kB / 1.186 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.9253, allocations: 4 kB / 1.186 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.9257, allocations: 207.6 kB / 1.186 GB, free: 4.609 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.001332/0.9271, allocations: 1.205 MB / 1.187 GB, free: 3.301 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.9273, allocations: 134.5 kB / 1.187 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001821/0.9275, allocations: 96.75 kB / 1.188 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006418/0.9282, allocations: 307.2 kB / 1.188 GB, free: 2.707 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.9282, allocations: 30.56 kB / 1.188 GB, free: 2.668 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 2.775e-06/0.9282, allocations: 7.938 kB / 1.188 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0007569/0.929, allocations: 277.4 kB / 1.188 GB, free: 2.383 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.929, allocations: 51.41 kB / 1.188 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.9293, allocations: 316.5 kB / 1.188 GB, free: 2 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.9294, allocations: 29.7 kB / 1.188 GB, free: 1.965 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.9295, allocations: 180.2 kB / 1.189 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.92e-05/0.9295, allocations: 55.2 kB / 1.189 GB, free: 1.73 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.276e-05/0.9296, allocations: 45.7 kB / 1.189 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.9297, allocations: 334.8 kB / 1.189 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.9299, allocations: 67.89 kB / 1.189 GB, free: 1.277 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.9301, allocations: 127.8 kB / 1.189 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003424/0.9304, allocations: 189 kB / 1.189 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.9305, allocations: 0 / 1.189 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004483/0.9309, allocations: 245.1 kB / 1.19 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.9309, allocations: 8 kB / 1.19 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9309, allocations: 0 / 1.19 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.931, allocations: 4 kB / 1.19 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.9312, allocations: 47.91 kB / 1.19 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.9312, allocations: 7.938 kB / 1.19 GB, free: 0.6211 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.9314, allocations: 39.77 kB / 1.19 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/0.9314, allocations: 12 kB / 1.19 GB, free: 0.5703 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.000131/0.9316, allocations: 153.7 kB / 1.19 GB, free: 420 kB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.9316, allocations: 27.72 kB / 1.19 GB, free: 392 kB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004586/0.9321, allocations: 218.2 kB / 1.19 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.9321, allocations: 0 / 1.19 GB, free: 172 kB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9321, allocations: 4 kB / 1.19 GB, free: 168 kB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.9321, allocations: 3.984 kB / 1.19 GB, free: 164 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009697/0.9331, allocations: 0.6874 MB / 1.191 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.9331, allocations: 0 / 1.191 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.9333, allocations: 27.98 kB / 1.191 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.9333, allocations: 7.938 kB / 1.191 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.9333, allocations: 8 kB / 1.191 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.9333, allocations: 7.938 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.9334, allocations: 3.984 kB / 1.191 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000621/0.934, allocations: 437.1 kB / 1.191 GB, free: 14.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.9341, allocations: 128.6 kB / 1.191 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.19e-05/0.9341, allocations: 4 kB / 1.191 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000192/0.9343, allocations: 15.98 kB / 1.191 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.9344, allocations: 11.98 kB / 1.191 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.9344, allocations: 8.062 kB / 1.191 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001928/0.9346, allocations: 227 kB / 1.192 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9346, allocations: 0 / 1.192 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000376/0.935, allocations: 76 kB / 1.192 GB, free: 14.4 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.001108/0.9361, allocations: 1.051 MB / 1.193 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004027/0.9365, allocations: 163.8 kB / 1.193 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9366, allocations: 0 / 1.193 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.9367, allocations: 96.39 kB / 1.193 GB, free: 13.06 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008558/0.9376, allocations: 150.8 kB / 1.193 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.941, allocations: 2.987 MB / 1.196 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.9413, allocations: 0.7797 MB / 1.197 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002149/0.9415, allocations: 66.92 kB / 1.197 GB, free: 8.898 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.9416, allocations: 87.41 kB / 1.197 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of SimCode: time 3.41e-07/0.9417, allocations: 0 / 1.197 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.9622, allocations: 8.356 MB / 1.205 GB, free: 0.6484 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001851/0.9624, allocations: 235.1 kB / 1.205 GB, free: 408 kB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.027/2.989, allocations: 0 / 1.205 GB, free: 408 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