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: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 108 kB / 15.6 MB, free: 132 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.001758/0.001759, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.426 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.636/2.636, allocations: 437 MB / 0.7103 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 67.89 kB / 0.8692 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.7192, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1916/0.9109, allocations: 167.4 MB / 1.181 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002856/0.9138, allocations: 1.549 MB / 1.182 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.9141, allocations: 11.94 kB / 1.182 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004728/0.9146, allocations: 150.9 kB / 1.182 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.9163, allocations: 0.7039 MB / 1.183 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.9178, allocations: 0.5957 MB / 1.184 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0007306/0.9186, allocations: 0.7051 MB / 1.184 GB, free: 6.938 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.9189, allocations: 229.1 kB / 1.185 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005337/0.9195, allocations: 334.7 kB / 1.185 GB, free: 6.387 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002962/0.9198, allocations: 223.1 kB / 1.185 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.694e-05/0.9198, allocations: 24 kB / 1.185 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001387/0.9212, allocations: 0.8611 MB / 1.186 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.9214, allocations: 111.7 kB / 1.186 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.9215, allocations: 155.2 kB / 1.186 GB, free: 5.02 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009327/0.9225, allocations: 0.7207 MB / 1.187 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.9225, allocations: 0 / 1.187 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.206e-06/0.9225, allocations: 8 kB / 1.187 GB, free: 4.289 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.9225, allocations: 0 / 1.187 GB, free: 4.289 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.0008887/0.9234, allocations: 0.6427 MB / 1.188 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.9234, allocations: 8.031 kB / 1.188 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/0.9246, allocations: 151.4 kB / 1.188 GB, free: 3.441 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.925, allocations: 317.6 kB / 1.188 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.9251, allocations: 16.44 kB / 1.188 GB, free: 3.078 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.9251, allocations: 24 kB / 1.188 GB, free: 3.055 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.9256, allocations: 275.5 kB / 1.188 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.9256, allocations: 0 / 1.188 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.9256, allocations: 8 kB / 1.188 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.9256, allocations: 11.94 kB / 1.188 GB, free: 2.742 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003976/0.926, allocations: 207.6 kB / 1.189 GB, free: 2.539 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.001353/0.9274, allocations: 1.201 MB / 1.19 GB, free: 1.234 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002767/0.9277, allocations: 146.5 kB / 1.19 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001875/0.9279, allocations: 88.73 kB / 1.19 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006309/0.9285, allocations: 307.2 kB / 1.19 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.9286, allocations: 38.5 kB / 1.19 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.9286, allocations: 0 / 1.19 GB, free: 0.5898 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0007262/0.9293, allocations: 273.5 kB / 1.191 GB, free: 324 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.9294, allocations: 59.41 kB / 1.191 GB, free: 252 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.9297, allocations: 316.5 kB / 1.191 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.9297, allocations: 29.7 kB / 1.191 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.9299, allocations: 176.2 kB / 1.191 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.9299, allocations: 55.2 kB / 1.191 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.98e-05/0.93, allocations: 41.7 kB / 1.191 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.9301, allocations: 342.8 kB / 1.191 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.9303, allocations: 67.89 kB / 1.192 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.9305, allocations: 130.3 kB / 1.192 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003337/0.9308, allocations: 185 kB / 1.192 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.9308, allocations: 4 kB / 1.192 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004415/0.9313, allocations: 241.1 kB / 1.192 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.9313, allocations: 5.719 kB / 1.192 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.9313, allocations: 0 / 1.192 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.9313, allocations: 8.094 kB / 1.192 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001989/0.9315, allocations: 39.92 kB / 1.192 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.9316, allocations: 4 kB / 1.192 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.9318, allocations: 31.67 kB / 1.192 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.9318, allocations: 8 kB / 1.192 GB, free: 14.51 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.0001368/0.9319, allocations: 159.2 kB / 1.192 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-05/0.932, allocations: 23.72 kB / 1.192 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004463/0.9325, allocations: 226 kB / 1.193 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.9325, allocations: 4 kB / 1.193 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9325, allocations: 0 / 1.193 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.9325, allocations: 0 / 1.193 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009813/0.9335, allocations: 0.6872 MB / 1.193 GB, free: 13.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.9335, allocations: 4 kB / 1.193 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.9337, allocations: 35.97 kB / 1.193 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.9337, allocations: 7.938 kB / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.9337, allocations: 224 / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.9337, allocations: 11.94 kB / 1.193 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.9337, allocations: 4.141 kB / 1.193 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006205/0.9343, allocations: 432.9 kB / 1.194 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.9345, allocations: 128.6 kB / 1.194 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.676e-05/0.9345, allocations: 11.94 kB / 1.194 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.9347, allocations: 7.984 kB / 1.194 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.9348, allocations: 20.05 kB / 1.194 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.9348, allocations: 4 kB / 1.194 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002103/0.935, allocations: 227 kB / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.935, allocations: 0 / 1.194 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003694/0.9354, allocations: 72 kB / 1.194 GB, free: 12.34 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.0004172/0.9358, allocations: 182.5 kB / 1.194 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004251/0.9362, allocations: 179.6 kB / 1.195 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9362, allocations: 0 / 1.195 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.9364, allocations: 88.45 kB / 1.195 GB, free: 11.9 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008552/0.9373, allocations: 176.6 kB / 1.195 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009329/0.9382, allocations: 0.5899 MB / 1.195 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.9386, allocations: 0.7834 MB / 1.196 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.9388, allocations: 70.92 kB / 1.196 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.9388, allocations: 23.44 kB / 1.196 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.9388, allocations: 0 / 1.196 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of Templates: time 0.01035/0.9492, allocations: 5.718 MB / 1.202 GB, free: 4.57 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (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 & ./Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches