Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_latest_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.004515/0.004515, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.00129/0.00129, allocations: 193 kB / 16.67 MB, free: 5.969 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.187/1.187, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.313/2.313, allocations: 482.7 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001647/0.001647, allocations: 63.89 kB / 1.083 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5567/0.5583, allocations: 162.3 MB / 1.242 GB, free: 1.172 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.153/0.7114, allocations: 167.4 MB / 1.405 GB, free: 9.156 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.002236/0.7136, allocations: 1.547 MB / 1.407 GB, free: 7.605 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.7139, allocations: 15.88 kB / 1.407 GB, free: 7.59 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.00037/0.7143, allocations: 142.9 kB / 1.407 GB, free: 7.449 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001314/0.7156, allocations: 0.7039 MB / 1.408 GB, free: 6.742 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.7169, allocations: 0.6033 MB / 1.408 GB, free: 6.141 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.000721/0.7176, allocations: 0.7012 MB / 1.409 GB, free: 5.438 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.7179, allocations: 224.8 kB / 1.409 GB, free: 5.219 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007969/0.7187, allocations: 494.2 kB / 1.41 GB, free: 4.734 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.719, allocations: 215.1 kB / 1.41 GB, free: 4.523 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.7191, allocations: 24 kB / 1.41 GB, free: 4.5 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001201/0.7203, allocations: 0.8495 MB / 1.411 GB, free: 3.648 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.7204, allocations: 111.7 kB / 1.411 GB, free: 3.539 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.7205, allocations: 171.1 kB / 1.411 GB, free: 3.371 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0009318/0.7215, allocations: 0.7135 MB / 1.412 GB, free: 2.66 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.7215, allocations: 4 kB / 1.412 GB, free: 2.656 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7215, allocations: 0 / 1.412 GB, free: 2.656 MB / 1.123 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.7215, allocations: 0 / 1.412 GB, free: 2.656 MB / 1.123 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.0008085/0.7223, allocations: 0.6614 MB / 1.412 GB, free: 1.945 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.7224, allocations: 8.031 kB / 1.412 GB, free: 1.938 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.332e-05/0.7224, allocations: 58.55 kB / 1.412 GB, free: 1.871 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009667/0.7234, allocations: 159.6 kB / 1.413 GB, free: 1.715 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.7238, allocations: 317.9 kB / 1.413 GB, free: 1.359 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.7238, allocations: 24.44 kB / 1.413 GB, free: 1.336 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.7239, allocations: 20 kB / 1.413 GB, free: 1.316 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000431/0.7243, allocations: 275.4 kB / 1.413 GB, free: 1.031 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.7243, allocations: 4 kB / 1.413 GB, free: 1.027 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.7244, allocations: 8 kB / 1.413 GB, free: 1.02 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.7244, allocations: 8 kB / 1.413 GB, free: 1.012 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003648/0.7248, allocations: 195.8 kB / 1.413 GB, free: 0.8203 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.726, allocations: 1.217 MB / 1.415 GB, free: 15.5 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.7262, allocations: 138.5 kB / 1.415 GB, free: 15.36 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.7264, allocations: 88.8 kB / 1.415 GB, free: 15.27 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004991/0.7269, allocations: 303.2 kB / 1.415 GB, free: 14.91 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.7269, allocations: 38.5 kB / 1.415 GB, free: 14.87 MB / 1.139 GB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.727, allocations: 0 / 1.415 GB, free: 14.87 MB / 1.139 GB Notification: Performance of matching and sorting (n=15): time 0.00066/0.7276, allocations: 284 kB / 1.415 GB, free: 14.59 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.7277, allocations: 55.41 kB / 1.415 GB, free: 14.52 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.7279, allocations: 312.5 kB / 1.416 GB, free: 14.2 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.728, allocations: 29.7 kB / 1.416 GB, free: 14.17 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.7281, allocations: 184.3 kB / 1.416 GB, free: 13.98 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.7282, allocations: 63.45 kB / 1.416 GB, free: 13.92 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.7282, allocations: 49.66 kB / 1.416 GB, free: 13.87 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.7284, allocations: 338.8 kB / 1.416 GB, free: 13.53 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.7285, allocations: 63.94 kB / 1.416 GB, free: 13.46 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.7287, allocations: 129 kB / 1.417 GB, free: 13.32 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.7291, allocations: 191.9 kB / 1.417 GB, free: 13.12 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.7291, allocations: 4 kB / 1.417 GB, free: 13.11 MB / 1.139 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004221/0.7295, allocations: 241.3 kB / 1.417 GB, free: 12.87 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.7295, allocations: 5.719 kB / 1.417 GB, free: 12.87 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.7295, allocations: 4 kB / 1.417 GB, free: 12.86 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.7295, allocations: 3.984 kB / 1.417 GB, free: 12.86 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.7297, allocations: 39.92 kB / 1.417 GB, free: 12.82 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.7297, allocations: 4 kB / 1.417 GB, free: 12.82 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.7299, allocations: 31.83 kB / 1.417 GB, free: 12.79 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.7299, allocations: 8 kB / 1.417 GB, free: 12.78 MB / 1.139 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.0001239/0.7301, allocations: 157.8 kB / 1.417 GB, free: 12.61 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.113e-05/0.7301, allocations: 31.8 kB / 1.417 GB, free: 12.58 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004113/0.7305, allocations: 212.5 kB / 1.417 GB, free: 12.36 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.7305, allocations: 7.984 kB / 1.417 GB, free: 12.36 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.7306, allocations: 3.984 kB / 1.417 GB, free: 12.35 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7306, allocations: 0 / 1.417 GB, free: 12.35 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009013/0.7315, allocations: 0.6873 MB / 1.418 GB, free: 11.59 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.7315, allocations: 4.219 kB / 1.418 GB, free: 11.58 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.7316, allocations: 31.98 kB / 1.418 GB, free: 11.55 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.708e-06/0.7316, allocations: 7.938 kB / 1.418 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.7317, allocations: 7.938 kB / 1.418 GB, free: 11.54 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.7317, allocations: 3.984 kB / 1.418 GB, free: 11.53 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.7317, allocations: 7.938 kB / 1.418 GB, free: 11.52 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005913/0.7323, allocations: 425.2 kB / 1.419 GB, free: 11.07 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.7324, allocations: 128.9 kB / 1.419 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.658e-05/0.7324, allocations: 12.06 kB / 1.419 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.7326, allocations: 7.984 kB / 1.419 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.7326, allocations: 19.92 kB / 1.419 GB, free: 10.89 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.7327, allocations: 4 kB / 1.419 GB, free: 10.88 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002011/0.7329, allocations: 227 kB / 1.419 GB, free: 10.66 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7329, allocations: 0 / 1.419 GB, free: 10.66 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0003191/0.7332, allocations: 79.94 kB / 1.419 GB, free: 10.59 MB / 1.139 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.00105/0.7342, allocations: 1.027 MB / 1.42 GB, free: 9.516 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003712/0.7346, allocations: 175.8 kB / 1.42 GB, free: 9.344 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.7346, allocations: 3.938 kB / 1.42 GB, free: 9.34 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.7348, allocations: 83.89 kB / 1.42 GB, free: 9.258 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007454/0.7356, allocations: 167.5 kB / 1.42 GB, free: 9.09 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/0.7387, allocations: 2.923 MB / 1.423 GB, free: 6.031 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.7391, allocations: 0.7795 MB / 1.424 GB, free: 5.227 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000167/0.7392, allocations: 54.95 kB / 1.424 GB, free: 5.172 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.7394, allocations: 91.41 kB / 1.424 GB, free: 5.082 MB / 1.139 GB Notification: Performance of SimCode: time 2.11e-07/0.7394, allocations: 0 / 1.424 GB, free: 5.082 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.643/3.382, allocations: 8.832 MB / 1.433 GB, free: 12.45 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/19.39, allocations: 14.2 kB / 1.433 GB, free: 12.43 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches