Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.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.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Pressure,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure",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.007747/0.007747, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001811/0.001811, allocations: 189.6 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.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.199 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.877/2.877, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 67.89 kB / 1.054 GB, free: 7.707 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3142, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Pressure): time 0.8735/1.188, allocations: 169.5 MB / 1.373 GB, free: 15.53 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01174/1.2, allocations: 7.326 MB / 1.38 GB, free: 10.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005899/1.2, allocations: 15.5 kB / 1.38 GB, free: 10.28 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0007837/1.201, allocations: 211.5 kB / 1.38 GB, free: 10.14 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001722/1.203, allocations: 0.5716 MB / 1.381 GB, free: 9.73 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/1.204, allocations: 430.5 kB / 1.381 GB, free: 9.426 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001172/1.205, allocations: 0.7057 MB / 1.382 GB, free: 9.027 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/1.206, allocations: 277 kB / 1.382 GB, free: 8.859 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008701/1.207, allocations: 383.5 kB / 1.382 GB, free: 8.633 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003752/1.207, allocations: 216.5 kB / 1.383 GB, free: 8.508 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/1.207, allocations: 19.88 kB / 1.383 GB, free: 8.508 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/1.209, allocations: 0.6984 MB / 1.383 GB, free: 8.113 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001556/1.209, allocations: 114 kB / 1.383 GB, free: 8.035 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002035/1.209, allocations: 154.8 kB / 1.384 GB, free: 7.941 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009684/1.21, allocations: 0.5735 MB / 1.384 GB, free: 7.586 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/1.21, allocations: 5.594 kB / 1.384 GB, free: 7.582 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.483e-06/1.21, allocations: 0 / 1.384 GB, free: 7.582 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.11e-05/1.21, allocations: 0 / 1.384 GB, free: 7.582 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001001/1.211, allocations: 0.6351 MB / 1.385 GB, free: 7.012 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/1.211, allocations: 10.44 kB / 1.385 GB, free: 7.012 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.874e-05/1.211, allocations: 57.5 kB / 1.385 GB, free: 6.953 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003701/1.211, allocations: 68.75 kB / 1.385 GB, free: 6.918 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/1.212, allocations: 320.5 kB / 1.385 GB, free: 6.621 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/1.212, allocations: 18.16 kB / 1.385 GB, free: 6.613 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/1.212, allocations: 20.47 kB / 1.385 GB, free: 6.609 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/1.213, allocations: 307.8 kB / 1.386 GB, free: 6.367 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/1.213, allocations: 1.031 kB / 1.386 GB, free: 6.367 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/1.213, allocations: 15.28 kB / 1.386 GB, free: 6.355 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/1.213, allocations: 9.422 kB / 1.386 GB, free: 6.352 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/1.213, allocations: 177.3 kB / 1.386 GB, free: 6.27 MB / 1.076 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.001778/1.215, allocations: 1.692 MB / 1.387 GB, free: 4.664 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000273/1.215, allocations: 84.97 kB / 1.387 GB, free: 4.613 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/1.215, allocations: 78.83 kB / 1.388 GB, free: 4.574 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002798/1.216, allocations: 195.4 kB / 1.388 GB, free: 4.367 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/1.216, allocations: 41.12 kB / 1.388 GB, free: 4.32 MB / 1.076 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/1.216, allocations: 0 / 1.388 GB, free: 4.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=11): time 0.00074/1.216, allocations: 220.1 kB / 1.388 GB, free: 4.207 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/1.216, allocations: 55.41 kB / 1.388 GB, free: 4.141 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/1.217, allocations: 322.3 kB / 1.388 GB, free: 3.934 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/1.217, allocations: 30.98 kB / 1.388 GB, free: 3.898 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/1.217, allocations: 194.3 kB / 1.389 GB, free: 3.723 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.165e-05/1.217, allocations: 36.7 kB / 1.389 GB, free: 3.691 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.888e-05/1.217, allocations: 53.23 kB / 1.389 GB, free: 3.652 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.217, allocations: 337.2 kB / 1.389 GB, free: 3.32 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001591/1.217, allocations: 62.81 kB / 1.389 GB, free: 3.285 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/1.218, allocations: 193.6 kB / 1.389 GB, free: 3.082 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/1.218, allocations: 231.4 kB / 1.389 GB, free: 2.879 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/1.218, allocations: 1.094 kB / 1.389 GB, free: 2.879 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005112/1.219, allocations: 260.9 kB / 1.39 GB, free: 2.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.219, allocations: 11 kB / 1.39 GB, free: 2.727 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.219, allocations: 3.406 kB / 1.39 GB, free: 2.727 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/1.219, allocations: 5.438 kB / 1.39 GB, free: 2.727 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/1.219, allocations: 47.78 kB / 1.39 GB, free: 2.715 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.219, allocations: 4.625 kB / 1.39 GB, free: 2.715 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/1.219, allocations: 38.33 kB / 1.39 GB, free: 2.691 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/1.219, allocations: 18.73 kB / 1.39 GB, free: 2.684 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002457/1.219, allocations: 173 kB / 1.39 GB, free: 2.555 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002512/1.22, allocations: 196.3 kB / 1.39 GB, free: 2.352 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003803/1.22, allocations: 229.6 kB / 1.39 GB, free: 2.148 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.895e-06/1.22, allocations: 1.219 kB / 1.39 GB, free: 2.148 MB / 1.076 GB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004969/1.221, allocations: 257 kB / 1.391 GB, free: 2.004 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.221, allocations: 10.69 kB / 1.391 GB, free: 2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/1.221, allocations: 7 kB / 1.391 GB, free: 1.996 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.423e-06/1.221, allocations: 4.719 kB / 1.391 GB, free: 1.996 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/1.221, allocations: 43.33 kB / 1.391 GB, free: 1.988 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/1.221, allocations: 9.391 kB / 1.391 GB, free: 1.984 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/1.221, allocations: 29.89 kB / 1.391 GB, free: 1.969 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.354e-05/1.221, allocations: 10.47 kB / 1.391 GB, free: 1.969 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (23): * Single equations (assignments): 23 * 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.0001077/1.221, allocations: 199.1 kB / 1.391 GB, free: 1.773 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.094e-05/1.221, allocations: 28.53 kB / 1.391 GB, free: 1.758 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004054/1.222, allocations: 166 kB / 1.391 GB, free: 1.652 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.222, allocations: 1.062 kB / 1.391 GB, free: 1.652 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/1.222, allocations: 1.469 kB / 1.391 GB, free: 1.652 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.222, allocations: 3.984 kB / 1.391 GB, free: 1.648 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009637/1.223, allocations: 0.6118 MB / 1.392 GB, free: 1.105 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/1.223, allocations: 6.312 kB / 1.392 GB, free: 1.102 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/1.223, allocations: 31.3 kB / 1.392 GB, free: 1.09 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/1.223, allocations: 2.344 kB / 1.392 GB, free: 1.09 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/1.223, allocations: 7.156 kB / 1.392 GB, free: 1.086 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/1.223, allocations: 2.969 kB / 1.392 GB, free: 1.086 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.223, allocations: 8.078 kB / 1.392 GB, free: 1.082 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/1.223, allocations: 299.2 kB / 1.392 GB, free: 0.8242 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/1.224, allocations: 112.9 kB / 1.392 GB, free: 0.707 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/1.224, allocations: 6.844 kB / 1.392 GB, free: 0.7031 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/1.224, allocations: 11.48 kB / 1.392 GB, free: 0.6992 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/1.224, allocations: 17.11 kB / 1.392 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/1.224, allocations: 4.5 kB / 1.392 GB, free: 0.6875 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002644/1.224, allocations: 226.5 kB / 1.392 GB, free: 0.543 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.6e-07/1.224, allocations: 0 / 1.392 GB, free: 0.543 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0006412/1.225, allocations: 129.9 kB / 1.393 GB, free: 0.5234 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (11): * Single equations (assignments): 11 * 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.0009814/1.226, allocations: 0.9189 MB / 1.393 GB, free: 15.68 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0006192/1.226, allocations: 245.4 kB / 1.394 GB, free: 15.58 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.226, allocations: 0 / 1.394 GB, free: 15.58 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/1.227, allocations: 64.14 kB / 1.394 GB, free: 15.55 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007926/1.227, allocations: 120.3 kB / 1.394 GB, free: 15.49 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/1.231, allocations: 2.791 MB / 1.397 GB, free: 13.25 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/1.231, allocations: 0.7808 MB / 1.397 GB, free: 12.51 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0002751/1.232, allocations: 87.19 kB / 1.397 GB, free: 12.46 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/1.232, allocations: 87.88 kB / 1.398 GB, free: 12.39 MB / 1.092 GB Notification: Performance of SimCode: time 4.21e-07/1.232, allocations: 0 / 1.398 GB, free: 12.39 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02771/1.259, allocations: 8.035 MB / 1.405 GB, free: 8.367 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/9.297, allocations: 9.094 kB / 1.405 GB, free: 8.363 MB / 1.092 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Pressure.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_Pressure.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Pressure.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches