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.001648/0.001648, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.457/2.457, allocations: 437 MB / 0.7104 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 67.89 kB / 0.8693 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.64/0.6415, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.172/0.8136, allocations: 167.4 MB / 1.181 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002606/0.8162, allocations: 1.552 MB / 1.182 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.8165, allocations: 11.94 kB / 1.182 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004416/0.817, allocations: 146.9 kB / 1.183 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.8185, allocations: 0.7039 MB / 1.183 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.8199, allocations: 0.5894 MB / 1.184 GB, free: 7.469 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007296/0.8207, allocations: 0.709 MB / 1.184 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.821, allocations: 233.1 kB / 1.185 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005285/0.8216, allocations: 330.7 kB / 1.185 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002441/0.8218, allocations: 215.1 kB / 1.185 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.8219, allocations: 24 kB / 1.185 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00135/0.8232, allocations: 0.8689 MB / 1.186 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.8234, allocations: 103.7 kB / 1.186 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.8235, allocations: 167.2 kB / 1.186 GB, free: 4.832 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.8246, allocations: 0.713 MB / 1.187 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8246, allocations: 0 / 1.187 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.858e-06/0.8246, allocations: 0 / 1.187 GB, free: 4.117 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.636e-06/0.8246, allocations: 7.938 kB / 1.187 GB, free: 4.109 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.0008948/0.8255, allocations: 0.6405 MB / 1.188 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.8255, allocations: 8.031 kB / 1.188 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.47e-05/0.8256, allocations: 58.53 kB / 1.188 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.8267, allocations: 159.4 kB / 1.188 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.8271, allocations: 305.7 kB / 1.188 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.8271, allocations: 20.44 kB / 1.188 GB, free: 2.836 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.211e-05/0.8272, allocations: 24 kB / 1.188 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004571/0.8277, allocations: 275.5 kB / 1.188 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.8277, allocations: 4 kB / 1.188 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.8277, allocations: 7.984 kB / 1.188 GB, free: 2.508 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.8277, allocations: 11.94 kB / 1.189 GB, free: 2.496 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003986/0.8281, allocations: 203.7 kB / 1.189 GB, free: 2.297 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.001325/0.8295, allocations: 1.209 MB / 1.19 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.8297, allocations: 130.5 kB / 1.19 GB, free: 0.8477 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.8299, allocations: 96.73 kB / 1.19 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006027/0.8305, allocations: 311.2 kB / 1.19 GB, free: 400 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.8306, allocations: 34.55 kB / 1.19 GB, free: 356 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.8306, allocations: 0 / 1.19 GB, free: 356 kB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0007437/0.8313, allocations: 275.5 kB / 1.191 GB, free: 76 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.8314, allocations: 59.39 kB / 1.191 GB, free: 4 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.8317, allocations: 312.5 kB / 1.191 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.8317, allocations: 29.7 kB / 1.191 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.8319, allocations: 184.1 kB / 1.191 GB, free: 15.46 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.334e-05/0.8319, allocations: 59.19 kB / 1.191 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-05/0.832, allocations: 45.7 kB / 1.191 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8321, allocations: 342.8 kB / 1.192 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.8323, allocations: 67.89 kB / 1.192 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.8325, allocations: 118.2 kB / 1.192 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.8328, allocations: 188.9 kB / 1.192 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8329, allocations: 3.938 kB / 1.192 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004664/0.8333, allocations: 253.1 kB / 1.192 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.8334, allocations: 4 kB / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.8334, allocations: 3.984 kB / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.8334, allocations: 4 kB / 1.192 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.8336, allocations: 43.92 kB / 1.192 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.8336, allocations: 4 kB / 1.192 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.8338, allocations: 27.67 kB / 1.192 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.8338, allocations: 12 kB / 1.192 GB, free: 14.26 MB / 0.9512 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.0001332/0.834, allocations: 161.8 kB / 1.193 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.126e-05/0.834, allocations: 23.72 kB / 1.193 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004553/0.8345, allocations: 213.8 kB / 1.193 GB, free: 13.86 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.8345, allocations: 4 kB / 1.193 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.8345, allocations: 0 / 1.193 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.8345, allocations: 0 / 1.193 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009652/0.8355, allocations: 0.6834 MB / 1.193 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.8355, allocations: 8.219 kB / 1.193 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.8357, allocations: 35.97 kB / 1.193 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.8357, allocations: 3.938 kB / 1.193 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.8357, allocations: 8 kB / 1.193 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.8357, allocations: 7.938 kB / 1.193 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.8357, allocations: 4 kB / 1.193 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000629/0.8364, allocations: 424.9 kB / 1.194 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.8365, allocations: 132.6 kB / 1.194 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.8365, allocations: 8.062 kB / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.8367, allocations: 11.98 kB / 1.194 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.8368, allocations: 11.98 kB / 1.194 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.8368, allocations: 8 kB / 1.194 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001995/0.837, allocations: 227 kB / 1.194 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.837, allocations: 0 / 1.194 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003956/0.8374, allocations: 76 kB / 1.194 GB, free: 12.09 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.001181/0.8386, allocations: 1.04 MB / 1.195 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004351/0.839, allocations: 183.7 kB / 1.196 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8391, allocations: 0 / 1.196 GB, free: 10.83 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.8393, allocations: 87.83 kB / 1.196 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009023/0.8402, allocations: 175.8 kB / 1.196 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.8437, allocations: 2.898 MB / 1.199 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.8441, allocations: 0.7756 MB / 1.199 GB, free: 6.723 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002247/0.8443, allocations: 62.92 kB / 1.199 GB, free: 6.66 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.8444, allocations: 91.41 kB / 1.2 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of SimCode: time 2.71e-07/0.8444, allocations: 0 / 1.2 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.8752, allocations: 8.744 MB / 1.208 GB, free: 14 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.619/8.494, allocations: 13.78 kB / 1.208 GB, free: 13.99 MB / 0.9669 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