Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="Buildings_11_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.005702/0.005702, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001657/0.001657, allocations: 191.1 kB / 16.67 MB, free: 5.934 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.381/2.381, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001684, allocations: 67.91 kB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.624/0.6257, allocations: 159.1 MB / 1.22 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1703/0.796, allocations: 167.4 MB / 1.384 GB, free: 9.984 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.7984, allocations: 1.559 MB / 1.385 GB, free: 8.422 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.7985, allocations: 7.938 kB / 1.385 GB, free: 8.414 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003847/0.799, allocations: 146.9 kB / 1.385 GB, free: 8.27 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.8003, allocations: 0.7039 MB / 1.386 GB, free: 7.562 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001146/0.8014, allocations: 0.5995 MB / 1.387 GB, free: 6.965 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006793/0.8021, allocations: 0.7012 MB / 1.387 GB, free: 6.258 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003253/0.8025, allocations: 228.9 kB / 1.387 GB, free: 6.031 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004807/0.8029, allocations: 346.7 kB / 1.388 GB, free: 5.691 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.8032, allocations: 215.1 kB / 1.388 GB, free: 5.48 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.8033, allocations: 20 kB / 1.388 GB, free: 5.461 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.8045, allocations: 0.8689 MB / 1.389 GB, free: 4.59 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.8046, allocations: 107.7 kB / 1.389 GB, free: 4.484 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.8048, allocations: 159.2 kB / 1.389 GB, free: 4.328 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0008949/0.8057, allocations: 0.728 MB / 1.39 GB, free: 3.602 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.8057, allocations: 0 / 1.39 GB, free: 3.602 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8057, allocations: 0 / 1.39 GB, free: 3.602 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.8057, allocations: 0 / 1.39 GB, free: 3.602 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.0008412/0.8065, allocations: 0.6615 MB / 1.39 GB, free: 2.891 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.8066, allocations: 8.031 kB / 1.39 GB, free: 2.883 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.717e-05/0.8066, allocations: 62.53 kB / 1.391 GB, free: 2.812 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.8077, allocations: 155.6 kB / 1.391 GB, free: 2.66 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.8081, allocations: 325.8 kB / 1.391 GB, free: 2.305 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.8082, allocations: 20.38 kB / 1.391 GB, free: 2.285 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.8082, allocations: 23.98 kB / 1.391 GB, free: 2.262 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.8087, allocations: 283.4 kB / 1.391 GB, free: 1.961 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.8087, allocations: 0 / 1.391 GB, free: 1.961 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.182e-05/0.8087, allocations: 12 kB / 1.391 GB, free: 1.949 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.8087, allocations: 4 kB / 1.391 GB, free: 1.945 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.8091, allocations: 195.8 kB / 1.392 GB, free: 1.754 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.001265/0.8104, allocations: 1.21 MB / 1.393 GB, free: 452 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.8106, allocations: 142.4 kB / 1.393 GB, free: 300 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.8108, allocations: 92.8 kB / 1.393 GB, free: 204 kB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000548/0.8114, allocations: 303.2 kB / 1.393 GB, free: 15.85 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.8114, allocations: 34.56 kB / 1.393 GB, free: 15.8 MB / 1.123 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.8114, allocations: 0 / 1.393 GB, free: 15.8 MB / 1.123 GB Notification: Performance of matching and sorting (n=15): time 0.000694/0.8121, allocations: 280.4 kB / 1.394 GB, free: 15.53 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.8122, allocations: 59.34 kB / 1.394 GB, free: 15.46 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.8125, allocations: 316.5 kB / 1.394 GB, free: 15.14 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.8125, allocations: 33.7 kB / 1.394 GB, free: 15.1 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.8126, allocations: 180.3 kB / 1.394 GB, free: 14.92 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.8127, allocations: 55.48 kB / 1.394 GB, free: 14.87 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.8127, allocations: 45.7 kB / 1.394 GB, free: 14.82 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.8129, allocations: 334.8 kB / 1.394 GB, free: 14.48 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.813, allocations: 63.95 kB / 1.395 GB, free: 14.42 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.8132, allocations: 130.9 kB / 1.395 GB, free: 14.27 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003316/0.8136, allocations: 185 kB / 1.395 GB, free: 14.07 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.8136, allocations: 0 / 1.395 GB, free: 14.07 MB / 1.123 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000432/0.814, allocations: 241.9 kB / 1.395 GB, free: 13.83 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.8141, allocations: 8 kB / 1.395 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.8141, allocations: 144 / 1.395 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.8141, allocations: 4 kB / 1.395 GB, free: 13.82 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.8143, allocations: 51.98 kB / 1.395 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.8143, allocations: 4 kB / 1.395 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.8145, allocations: 27.83 kB / 1.395 GB, free: 13.74 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.32e-05/0.8145, allocations: 8 kB / 1.395 GB, free: 13.73 MB / 1.123 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.0001279/0.8146, allocations: 149.7 kB / 1.395 GB, free: 13.57 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.298e-05/0.8147, allocations: 35.81 kB / 1.395 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004555/0.8151, allocations: 224.3 kB / 1.396 GB, free: 13.31 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.8151, allocations: 4 kB / 1.396 GB, free: 13.31 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8152, allocations: 0 / 1.396 GB, free: 13.31 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.8152, allocations: 3.984 kB / 1.396 GB, free: 13.3 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009448/0.8161, allocations: 0.6913 MB / 1.396 GB, free: 12.54 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8161, allocations: 4 kB / 1.396 GB, free: 12.53 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.8163, allocations: 31.92 kB / 1.396 GB, free: 12.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.8163, allocations: 7.875 kB / 1.396 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.8163, allocations: 7.938 kB / 1.396 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.8163, allocations: 4 kB / 1.396 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8163, allocations: 4.219 kB / 1.396 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006071/0.8169, allocations: 433.1 kB / 1.397 GB, free: 12.02 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.8171, allocations: 128.9 kB / 1.397 GB, free: 11.87 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/0.8171, allocations: 8 kB / 1.397 GB, free: 11.86 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.8173, allocations: 7.984 kB / 1.397 GB, free: 11.86 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.8173, allocations: 15.98 kB / 1.397 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.8173, allocations: 8.062 kB / 1.397 GB, free: 11.83 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0002029/0.8175, allocations: 223.1 kB / 1.397 GB, free: 11.61 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8176, allocations: 0 / 1.397 GB, free: 11.61 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003365/0.8179, allocations: 87.88 kB / 1.397 GB, free: 11.53 MB / 1.123 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.001119/0.819, allocations: 1.039 MB / 1.398 GB, free: 10.45 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0004144/0.8194, allocations: 167.8 kB / 1.398 GB, free: 10.29 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8195, allocations: 0 / 1.398 GB, free: 10.29 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.8196, allocations: 92.27 kB / 1.398 GB, free: 10.2 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007931/0.8204, allocations: 163.5 kB / 1.399 GB, free: 10.04 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.8238, allocations: 2.922 MB / 1.401 GB, free: 6.969 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.8241, allocations: 0.7717 MB / 1.402 GB, free: 6.168 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001666/0.8243, allocations: 66.92 kB / 1.402 GB, free: 6.105 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.8244, allocations: 91.41 kB / 1.402 GB, free: 6.016 MB / 1.123 GB Notification: Performance of SimCode: time 2.51e-07/0.8244, allocations: 4 kB / 1.402 GB, free: 6.012 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.104/1.928, allocations: 8.826 MB / 1.411 GB, free: 13.38 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/13.42, allocations: 12.25 kB / 1.411 GB, free: 13.37 MB / 1.139 GB (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_VolumeFlowRate.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches