Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_9_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.008446/0.008446, allocations: 101.3 kB / 15.73 MB, free: 6.012 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.00191/0.00191, allocations: 194.4 kB / 16.67 MB, free: 5.949 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.356/2.356, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 64.22 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3188, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1863/0.5052, allocations: 167.4 MB / 1.251 GB, free: 9.977 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002833/0.508, allocations: 1.547 MB / 1.252 GB, free: 8.426 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003971/0.5085, allocations: 11.94 kB / 1.252 GB, free: 8.414 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0005541/0.509, allocations: 150.8 kB / 1.253 GB, free: 8.266 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.5112, allocations: 0.7 MB / 1.253 GB, free: 7.562 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.5128, allocations: 0.5983 MB / 1.254 GB, free: 6.965 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.5139, allocations: 0.7051 MB / 1.255 GB, free: 6.258 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005516/0.5144, allocations: 233.7 kB / 1.255 GB, free: 6.027 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008915/0.5153, allocations: 330.8 kB / 1.255 GB, free: 5.703 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004785/0.5158, allocations: 227.1 kB / 1.255 GB, free: 5.48 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.451e-05/0.5159, allocations: 20 kB / 1.255 GB, free: 5.461 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.5174, allocations: 0.8728 MB / 1.256 GB, free: 4.586 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001727/0.5176, allocations: 107.7 kB / 1.256 GB, free: 4.48 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.5179, allocations: 163.2 kB / 1.256 GB, free: 4.32 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.5193, allocations: 0.721 MB / 1.257 GB, free: 3.598 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5194, allocations: 0 / 1.257 GB, free: 3.598 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.617e-06/0.5194, allocations: 0 / 1.257 GB, free: 3.598 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.5194, allocations: 3.938 kB / 1.257 GB, free: 3.594 MB / 1.014 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.00115/0.5205, allocations: 0.6484 MB / 1.258 GB, free: 2.898 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.5206, allocations: 12.03 kB / 1.258 GB, free: 2.887 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.5e-05/0.5207, allocations: 58.55 kB / 1.258 GB, free: 2.82 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.5219, allocations: 155.4 kB / 1.258 GB, free: 2.668 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005647/0.5225, allocations: 317.7 kB / 1.258 GB, free: 2.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.5225, allocations: 16.44 kB / 1.258 GB, free: 2.305 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.284e-05/0.5226, allocations: 23.94 kB / 1.258 GB, free: 2.281 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004954/0.5231, allocations: 283.4 kB / 1.259 GB, free: 1.98 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.5231, allocations: 3.938 kB / 1.259 GB, free: 1.977 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.5231, allocations: 8 kB / 1.259 GB, free: 1.969 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.5231, allocations: 8 kB / 1.259 GB, free: 1.961 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.5235, allocations: 195.8 kB / 1.259 GB, free: 1.77 MB / 1.014 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.00147/0.525, allocations: 1.213 MB / 1.26 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.5253, allocations: 142.5 kB / 1.26 GB, free: 312 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.5255, allocations: 88.81 kB / 1.26 GB, free: 220 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.658/1.183, allocations: 300.9 kB / 1.26 GB, free: 176.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/1.184, allocations: 35.81 kB / 1.261 GB, free: 176.7 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 3.858e-06/1.184, allocations: 0 / 1.261 GB, free: 176.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.00105/1.185, allocations: 277.4 kB / 1.261 GB, free: 176.7 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/1.185, allocations: 56.86 kB / 1.261 GB, free: 176.6 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004305/1.185, allocations: 315.8 kB / 1.261 GB, free: 176.5 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/1.185, allocations: 30.52 kB / 1.261 GB, free: 176.5 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/1.185, allocations: 181.4 kB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/1.185, allocations: 52.09 kB / 1.261 GB, free: 176.4 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.135e-05/1.185, allocations: 49.28 kB / 1.261 GB, free: 176.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001019/1.186, allocations: 337.3 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/1.186, allocations: 67.97 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002436/1.186, allocations: 127.4 kB / 1.262 GB, free: 176 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/1.186, allocations: 188.9 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.186, allocations: 1.625 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004757/1.187, allocations: 232.8 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/1.187, allocations: 8.656 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/1.187, allocations: 0.75 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.187, allocations: 6.469 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/1.187, allocations: 38.14 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.899e-06/1.187, allocations: 3.062 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/1.187, allocations: 39.61 kB / 1.262 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/1.187, allocations: 17.69 kB / 1.262 GB, free: 175.9 MB / 1.014 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.0001238/1.188, allocations: 146.7 kB / 1.263 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.347e-05/1.188, allocations: 29.5 kB / 1.263 GB, free: 175.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/1.188, allocations: 219.1 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/1.188, allocations: 2.562 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.188, allocations: 0 / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/1.188, allocations: 6.266 kB / 1.263 GB, free: 175.7 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/1.189, allocations: 0.6805 MB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/1.189, allocations: 5.594 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/1.189, allocations: 35.2 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/1.189, allocations: 2.594 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/1.189, allocations: 7.391 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/1.19, allocations: 3.672 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/1.19, allocations: 7.781 kB / 1.264 GB, free: 175.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/1.19, allocations: 431.3 kB / 1.264 GB, free: 175.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/1.19, allocations: 126.1 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/1.19, allocations: 5.594 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/1.191, allocations: 10.44 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/1.191, allocations: 24.36 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/1.191, allocations: 5.422 kB / 1.264 GB, free: 175 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002464/1.191, allocations: 223.6 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.191, allocations: 0.7188 kB / 1.264 GB, free: 174.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004128/1.191, allocations: 81.34 kB / 1.264 GB, free: 174.9 MB / 1.014 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.001133/1.193, allocations: 1.031 MB / 1.265 GB, free: 174.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004636/1.193, allocations: 175.1 kB / 1.266 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.193, allocations: 0 / 1.266 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/1.193, allocations: 92.34 kB / 1.266 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000909/1.194, allocations: 165.4 kB / 1.266 GB, free: 174.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003811/1.198, allocations: 2.907 MB / 1.269 GB, free: 172.1 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/1.198, allocations: 0.7733 MB / 1.269 GB, free: 171.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002484/1.199, allocations: 62.12 kB / 1.27 GB, free: 171.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/1.199, allocations: 90.09 kB / 1.27 GB, free: 171.4 MB / 1.014 GB Notification: Performance of SimCode: time 6.41e-07/1.199, allocations: 0 / 1.27 GB, free: 171.4 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04033/1.239, allocations: 8.964 MB / 1.278 GB, free: 170.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/9.014, allocations: 9.766 kB / 1.278 GB, free: 170.5 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches