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.005772/0.005772, allocations: 101.2 kB / 15.73 MB, free: 6.027 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.00166/0.00166, allocations: 186.6 kB / 16.67 MB, free: 5.957 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.203/1.203, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.168/2.168, allocations: 437.1 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 71.89 kB / 1.018 GB, free: 9.863 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5687/0.5703, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1574/0.7277, allocations: 167.4 MB / 1.33 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.7298, allocations: 1.553 MB / 1.331 GB, free: 10.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.73, allocations: 11.94 kB / 1.331 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.7304, allocations: 142.9 kB / 1.331 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001164/0.7315, allocations: 0.7117 MB / 1.332 GB, free: 9.367 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.7326, allocations: 0.6028 MB / 1.333 GB, free: 8.766 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006629/0.7333, allocations: 0.7012 MB / 1.333 GB, free: 8.062 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003117/0.7336, allocations: 234.9 kB / 1.333 GB, free: 7.832 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004534/0.7341, allocations: 338.7 kB / 1.334 GB, free: 7.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.7343, allocations: 223 kB / 1.334 GB, free: 7.281 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.7344, allocations: 24 kB / 1.334 GB, free: 7.258 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.7355, allocations: 0.8689 MB / 1.335 GB, free: 6.387 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.7357, allocations: 107.7 kB / 1.335 GB, free: 6.281 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.7358, allocations: 167.2 kB / 1.335 GB, free: 6.117 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008631/0.7367, allocations: 0.7202 MB / 1.336 GB, free: 5.398 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.7367, allocations: 0 / 1.336 GB, free: 5.398 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.42e-07/0.7367, allocations: 0 / 1.336 GB, free: 5.398 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.7367, allocations: 0 / 1.336 GB, free: 5.398 MB / 1.061 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.0008026/0.7375, allocations: 0.6576 MB / 1.337 GB, free: 4.691 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.7376, allocations: 12.92 kB / 1.337 GB, free: 4.68 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.502e-05/0.7376, allocations: 58.55 kB / 1.337 GB, free: 4.613 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009722/0.7386, allocations: 155.6 kB / 1.337 GB, free: 4.461 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000432/0.739, allocations: 325.8 kB / 1.337 GB, free: 4.102 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.7391, allocations: 20.44 kB / 1.337 GB, free: 4.082 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/0.7391, allocations: 24 kB / 1.337 GB, free: 4.059 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.7395, allocations: 279.3 kB / 1.337 GB, free: 3.766 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.7396, allocations: 0 / 1.337 GB, free: 3.766 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.7396, allocations: 8 kB / 1.337 GB, free: 3.758 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.7396, allocations: 8 kB / 1.337 GB, free: 3.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.74, allocations: 203.8 kB / 1.338 GB, free: 3.551 MB / 1.061 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.001227/0.7412, allocations: 1.206 MB / 1.339 GB, free: 2.242 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002456/0.7415, allocations: 134.5 kB / 1.339 GB, free: 2.102 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.7416, allocations: 92.8 kB / 1.339 GB, free: 2.008 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005082/0.7422, allocations: 307.2 kB / 1.339 GB, free: 1.652 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.7422, allocations: 34.56 kB / 1.339 GB, free: 1.609 MB / 1.061 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.7422, allocations: 0 / 1.339 GB, free: 1.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=15): time 0.0006749/0.7429, allocations: 285.5 kB / 1.34 GB, free: 1.324 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.7429, allocations: 51.41 kB / 1.34 GB, free: 1.262 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.7432, allocations: 316.5 kB / 1.34 GB, free: 0.9414 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.7433, allocations: 25.7 kB / 1.34 GB, free: 0.9102 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.7434, allocations: 180.3 kB / 1.34 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.7434, allocations: 63.47 kB / 1.34 GB, free: 0.668 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.687e-05/0.7435, allocations: 45.7 kB / 1.34 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.7436, allocations: 338.8 kB / 1.341 GB, free: 284 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.7438, allocations: 71.89 kB / 1.341 GB, free: 212 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.744, allocations: 118.2 kB / 1.341 GB, free: 76 kB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.7443, allocations: 194.5 kB / 1.341 GB, free: 15.87 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7443, allocations: 0 / 1.341 GB, free: 15.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004252/0.7448, allocations: 241.3 kB / 1.341 GB, free: 15.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.7448, allocations: 4 kB / 1.341 GB, free: 15.62 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.7448, allocations: 7.938 kB / 1.341 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-06/0.7448, allocations: 3.938 kB / 1.341 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.745, allocations: 43.98 kB / 1.341 GB, free: 15.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.745, allocations: 3.984 kB / 1.341 GB, free: 15.56 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.7452, allocations: 27.84 kB / 1.341 GB, free: 15.54 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.7452, allocations: 15.98 kB / 1.341 GB, free: 15.52 MB / 1.076 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.0001241/0.7453, allocations: 156 kB / 1.341 GB, free: 15.36 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/0.7454, allocations: 31.81 kB / 1.341 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000423/0.7458, allocations: 219.2 kB / 1.342 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.7458, allocations: 3.984 kB / 1.342 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.7459, allocations: 0 / 1.342 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7459, allocations: 0 / 1.342 GB, free: 15.11 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009256/0.7468, allocations: 0.6952 MB / 1.342 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.7468, allocations: 224 / 1.342 GB, free: 14.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.7469, allocations: 39.91 kB / 1.342 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.747, allocations: 7.938 kB / 1.342 GB, free: 14.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.747, allocations: 8 kB / 1.342 GB, free: 14.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.747, allocations: 4 kB / 1.342 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.747, allocations: 0 / 1.342 GB, free: 14.27 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006028/0.7476, allocations: 433.1 kB / 1.343 GB, free: 13.81 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.7477, allocations: 120.8 kB / 1.343 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.699e-05/0.7478, allocations: 8.047 kB / 1.343 GB, free: 13.67 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.7479, allocations: 16 kB / 1.343 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.748, allocations: 7.984 kB / 1.343 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.748, allocations: 8 kB / 1.343 GB, free: 13.64 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001988/0.7482, allocations: 227 kB / 1.343 GB, free: 13.42 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.773e-06/0.7482, allocations: 0 / 1.343 GB, free: 13.42 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003187/0.7485, allocations: 79.88 kB / 1.343 GB, free: 13.34 MB / 1.076 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.001063/0.7496, allocations: 1.033 MB / 1.344 GB, free: 12.26 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003759/0.75, allocations: 187.9 kB / 1.344 GB, free: 12.08 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.75, allocations: 4 kB / 1.344 GB, free: 12.08 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001723/0.7502, allocations: 87.81 kB / 1.344 GB, free: 11.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007621/0.7509, allocations: 165.5 kB / 1.345 GB, free: 11.83 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003148/0.7541, allocations: 2.911 MB / 1.347 GB, free: 8.773 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.7544, allocations: 0.7755 MB / 1.348 GB, free: 7.969 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000158/0.7546, allocations: 66.94 kB / 1.348 GB, free: 7.906 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.7547, allocations: 87.41 kB / 1.348 GB, free: 7.82 MB / 1.076 GB Notification: Performance of SimCode: time 2.2e-07/0.7547, allocations: 0 / 1.348 GB, free: 7.82 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.454/4.209, allocations: 8.837 MB / 1.357 GB, free: 15.16 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/18.04, allocations: 4.594 kB / 1.357 GB, free: 15.16 MB / 1.092 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=400 --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