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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.004828/0.004828, allocations: 103.6 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.001185/0.001185, allocations: 190.8 kB / 16.67 MB, free: 5.977 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.429/1.429, 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 11.0.1-master/package.mo): time 2.674/2.674, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 60.12 kB / 1.054 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9802/0.9818, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2081/1.19, allocations: 167.4 MB / 1.371 GB, free: 5.566 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.003422/1.193, allocations: 1.559 MB / 1.372 GB, free: 4.008 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006712/1.194, allocations: 7.938 kB / 1.372 GB, free: 4 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006978/1.195, allocations: 150.8 kB / 1.372 GB, free: 3.852 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002348/1.197, allocations: 0.7039 MB / 1.373 GB, free: 3.145 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002002/1.199, allocations: 0.5954 MB / 1.374 GB, free: 2.551 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001174/1.201, allocations: 0.709 MB / 1.374 GB, free: 1.84 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005205/1.201, allocations: 232.8 kB / 1.375 GB, free: 1.609 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008808/1.202, allocations: 342.7 kB / 1.375 GB, free: 1.273 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005275/1.202, allocations: 211.1 kB / 1.375 GB, free: 1.066 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 7.548e-05/1.203, allocations: 24 kB / 1.375 GB, free: 1.043 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/1.204, allocations: 0.8689 MB / 1.376 GB, free: 176 kB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001768/1.205, allocations: 111.7 kB / 1.376 GB, free: 64 kB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0002792/1.205, allocations: 163.2 kB / 1.376 GB, free: 15.9 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/1.206, allocations: 0.7207 MB / 1.377 GB, free: 15.18 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.206, allocations: 0 / 1.377 GB, free: 15.18 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.964e-06/1.206, allocations: 4 kB / 1.377 GB, free: 15.18 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.79e-05/1.206, allocations: 0 / 1.377 GB, free: 15.18 MB / 1.107 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.001352/1.208, allocations: 0.6426 MB / 1.378 GB, free: 14.48 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.208, allocations: 16.02 kB / 1.378 GB, free: 14.47 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.248e-05/1.208, allocations: 54.55 kB / 1.378 GB, free: 14.41 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001294/1.209, allocations: 155.4 kB / 1.378 GB, free: 14.25 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006524/1.21, allocations: 325.7 kB / 1.378 GB, free: 13.89 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/1.21, allocations: 16.44 kB / 1.378 GB, free: 13.88 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/1.21, allocations: 20 kB / 1.378 GB, free: 13.86 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005413/1.211, allocations: 283.4 kB / 1.378 GB, free: 13.56 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/1.211, allocations: 0 / 1.378 GB, free: 13.56 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/1.211, allocations: 8 kB / 1.378 GB, free: 13.55 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/1.211, allocations: 8 kB / 1.378 GB, free: 13.54 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004477/1.211, allocations: 191.8 kB / 1.379 GB, free: 13.36 MB / 1.107 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.001726/1.213, allocations: 1.217 MB / 1.38 GB, free: 12.04 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/1.213, allocations: 134.5 kB / 1.38 GB, free: 11.89 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/1.213, allocations: 92.73 kB / 1.38 GB, free: 11.8 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006748/1.214, allocations: 303.2 kB / 1.38 GB, free: 11.45 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/1.214, allocations: 38.56 kB / 1.38 GB, free: 11.4 MB / 1.107 GB Notification: Performance of pre-optimization done (n=15): time 4.378e-06/1.214, allocations: 0 / 1.38 GB, free: 11.4 MB / 1.107 GB Notification: Performance of matching and sorting (n=15): time 0.0009509/1.215, allocations: 285.3 kB / 1.381 GB, free: 11.12 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.606e-05/1.215, allocations: 51.41 kB / 1.381 GB, free: 11.05 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000407/1.216, allocations: 312.5 kB / 1.381 GB, free: 10.75 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/1.216, allocations: 29.7 kB / 1.381 GB, free: 10.71 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/1.216, allocations: 188 kB / 1.381 GB, free: 10.52 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.377e-05/1.216, allocations: 51.3 kB / 1.381 GB, free: 10.47 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/1.216, allocations: 45.61 kB / 1.381 GB, free: 10.42 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002093/1.216, allocations: 338.8 kB / 1.382 GB, free: 10.08 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/1.216, allocations: 67.95 kB / 1.382 GB, free: 10.01 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000249/1.217, allocations: 129 kB / 1.382 GB, free: 9.867 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/1.217, allocations: 185 kB / 1.382 GB, free: 9.668 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.217, allocations: 0 / 1.382 GB, free: 9.668 MB / 1.107 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005697/1.218, allocations: 237.2 kB / 1.382 GB, free: 9.43 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/1.218, allocations: 4 kB / 1.382 GB, free: 9.426 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.218, allocations: 4.094 kB / 1.382 GB, free: 9.422 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/1.218, allocations: 4 kB / 1.382 GB, free: 9.418 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/1.218, allocations: 43.91 kB / 1.382 GB, free: 9.375 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.218, allocations: 4 kB / 1.382 GB, free: 9.371 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/1.218, allocations: 35.67 kB / 1.382 GB, free: 9.336 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/1.218, allocations: 4 kB / 1.382 GB, free: 9.332 MB / 1.107 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.0001792/1.218, allocations: 153.7 kB / 1.382 GB, free: 9.172 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/1.219, allocations: 31.62 kB / 1.382 GB, free: 9.141 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004809/1.219, allocations: 226.6 kB / 1.383 GB, free: 8.918 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/1.219, allocations: 0 / 1.383 GB, free: 8.918 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/1.219, allocations: 0 / 1.383 GB, free: 8.918 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/1.219, allocations: 3.984 kB / 1.383 GB, free: 8.914 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/1.22, allocations: 0.6875 MB / 1.383 GB, free: 8.148 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/1.22, allocations: 0 / 1.383 GB, free: 8.148 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001696/1.22, allocations: 35.92 kB / 1.383 GB, free: 8.113 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/1.22, allocations: 11.92 kB / 1.383 GB, free: 8.102 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/1.22, allocations: 4.219 kB / 1.383 GB, free: 8.098 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/1.22, allocations: 4 kB / 1.383 GB, free: 8.094 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/1.22, allocations: 11.92 kB / 1.383 GB, free: 8.082 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/1.221, allocations: 425.1 kB / 1.384 GB, free: 7.629 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001667/1.221, allocations: 128.6 kB / 1.384 GB, free: 7.484 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.737e-05/1.221, allocations: 8 kB / 1.384 GB, free: 7.477 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/1.222, allocations: 11.98 kB / 1.384 GB, free: 7.465 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/1.222, allocations: 19.98 kB / 1.384 GB, free: 7.445 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/1.222, allocations: 8 kB / 1.384 GB, free: 7.438 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002628/1.222, allocations: 219.1 kB / 1.384 GB, free: 7.223 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.222, allocations: 4 kB / 1.384 GB, free: 7.219 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0004693/1.222, allocations: 75.89 kB / 1.384 GB, free: 7.145 MB / 1.107 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.001416/1.224, allocations: 1.04 MB / 1.385 GB, free: 6.066 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0004636/1.224, allocations: 167.8 kB / 1.385 GB, free: 5.902 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/1.224, allocations: 192 / 1.385 GB, free: 5.902 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0001873/1.224, allocations: 91.83 kB / 1.386 GB, free: 5.812 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009652/1.225, allocations: 167.1 kB / 1.386 GB, free: 5.652 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/1.23, allocations: 2.899 MB / 1.389 GB, free: 2.609 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/1.23, allocations: 0.7834 MB / 1.389 GB, free: 1.801 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0002682/1.231, allocations: 66.92 kB / 1.389 GB, free: 1.734 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/1.231, allocations: 87.41 kB / 1.389 GB, free: 1.648 MB / 1.107 GB Notification: Performance of SimCode: time 8.62e-07/1.231, allocations: 0 / 1.389 GB, free: 1.648 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03116/1.262, allocations: 8.97 MB / 1.398 GB, free: 8.875 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.208/9.47, allocations: 6.75 kB / 1.398 GB, free: 8.871 MB / 1.123 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=50 --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