Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",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.004756/0.004756, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001381/0.001381, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.222/1.222, 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.212/2.212, allocations: 437.1 MB / 0.7106 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 71.83 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5718, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1602/0.732, allocations: 170.3 MB / 1.333 GB, free: 8.746 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005472/0.7375, allocations: 5.991 MB / 1.338 GB, free: 2.734 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.7377, allocations: 8 kB / 1.338 GB, free: 2.727 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0004371/0.7381, allocations: 182.7 kB / 1.339 GB, free: 2.547 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.7383, allocations: 91.38 kB / 1.339 GB, free: 2.457 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008266/0.7392, allocations: 0.5177 MB / 1.339 GB, free: 1.938 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.7396, allocations: 426.5 kB / 1.34 GB, free: 1.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.7398, allocations: 140.6 kB / 1.34 GB, free: 1.379 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.7401, allocations: 187.2 kB / 1.34 GB, free: 1.195 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.7403, allocations: 155.4 kB / 1.34 GB, free: 1.043 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/0.7403, allocations: 16 kB / 1.34 GB, free: 1.027 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006284/0.7409, allocations: 458.8 kB / 1.34 GB, free: 0.5781 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.74e-05/0.741, allocations: 67.81 kB / 1.341 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.427e-05/0.7411, allocations: 103.5 kB / 1.341 GB, free: 420 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.7417, allocations: 461 kB / 1.341 GB, free: 15.96 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.7417, allocations: 0 / 1.341 GB, free: 15.96 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.072e-06/0.7417, allocations: 0 / 1.341 GB, free: 15.96 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.7417, allocations: 0 / 1.341 GB, free: 15.96 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005243/0.7422, allocations: 0.5297 MB / 1.342 GB, free: 15.38 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/0.7422, allocations: 8.922 kB / 1.342 GB, free: 15.38 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.7423, allocations: 58.55 kB / 1.342 GB, free: 15.31 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002164/0.7425, allocations: 51.8 kB / 1.342 GB, free: 15.26 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.7429, allocations: 262.6 kB / 1.342 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.743, allocations: 131.4 kB / 1.342 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/0.743, allocations: 20 kB / 1.342 GB, free: 14.79 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000389/0.7434, allocations: 302.7 kB / 1.342 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.7434, allocations: 0 / 1.342 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.7434, allocations: 8 kB / 1.342 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.7435, allocations: 4 kB / 1.342 GB, free: 14.45 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/0.7437, allocations: 168.6 kB / 1.343 GB, free: 14.28 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.7449, allocations: 1.579 MB / 1.344 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.514e-05/0.745, allocations: 169.1 kB / 1.344 GB, free: 12.44 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.745, allocations: 88.14 kB / 1.344 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.793e-05/0.7451, allocations: 75.28 kB / 1.344 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.7451, allocations: 117.7 kB / 1.345 GB, free: 12.15 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.7451, allocations: 0 / 1.345 GB, free: 12.15 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 6.777e-05/0.7452, allocations: 41.61 kB / 1.345 GB, free: 12.1 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.7453, allocations: 126.7 kB / 1.345 GB, free: 11.96 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.7456, allocations: 314.6 kB / 1.345 GB, free: 11.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.7456, allocations: 29.7 kB / 1.345 GB, free: 11.61 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.7457, allocations: 191.7 kB / 1.345 GB, free: 11.42 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.198e-06/0.7457, allocations: 4 kB / 1.345 GB, free: 11.41 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.286e-05/0.7458, allocations: 41.66 kB / 1.345 GB, free: 11.37 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7459, allocations: 330.8 kB / 1.346 GB, free: 11.04 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.132e-05/0.746, allocations: 39.97 kB / 1.346 GB, free: 11 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.7462, allocations: 171.3 kB / 1.346 GB, free: 10.77 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.7464, allocations: 196.9 kB / 1.346 GB, free: 10.52 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7464, allocations: 0 / 1.346 GB, free: 10.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003449/0.7468, allocations: 213.2 kB / 1.346 GB, free: 10.3 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.7468, allocations: 11.94 kB / 1.346 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.7468, allocations: 7.984 kB / 1.346 GB, free: 10.28 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.7468, allocations: 8 kB / 1.346 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.7469, allocations: 35.92 kB / 1.346 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.747, allocations: 11.98 kB / 1.346 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.7471, allocations: 32.23 kB / 1.346 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.7471, allocations: 19.94 kB / 1.346 GB, free: 10.18 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001308/0.7473, allocations: 221 kB / 1.346 GB, free: 9.949 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.852e-05/0.7473, allocations: 128.8 kB / 1.347 GB, free: 9.816 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.8e-05/0.7474, allocations: 121.8 kB / 1.347 GB, free: 9.691 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.068e-05/0.7475, allocations: 180.2 kB / 1.347 GB, free: 9.508 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.024e-05/0.7475, allocations: 188.2 kB / 1.347 GB, free: 9.316 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-05/0.7476, allocations: 176.3 kB / 1.347 GB, free: 9.137 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002839/0.7479, allocations: 485.1 kB / 1.348 GB, free: 8.605 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.659e-05/0.7479, allocations: 105 kB / 1.348 GB, free: 8.496 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.748, allocations: 104.9 kB / 1.348 GB, free: 8.387 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.96e-05/0.748, allocations: 184.2 kB / 1.348 GB, free: 8.199 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/0.7481, allocations: 184.2 kB / 1.348 GB, free: 8.012 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.923e-05/0.7482, allocations: 176.3 kB / 1.348 GB, free: 7.832 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.96e-05/0.7482, allocations: 176.3 kB / 1.349 GB, free: 7.652 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001391/0.7484, allocations: 327.6 kB / 1.349 GB, free: 7.309 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.7485, allocations: 218.1 kB / 1.349 GB, free: 7.07 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.27e-05/0.7486, allocations: 180.3 kB / 1.349 GB, free: 6.887 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.7487, allocations: 109 kB / 1.349 GB, free: 6.773 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.7488, allocations: 188.2 kB / 1.35 GB, free: 6.582 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.7488, allocations: 101 kB / 1.35 GB, free: 6.477 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002133/0.749, allocations: 217.9 kB / 1.35 GB, free: 6.266 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/0.749, allocations: 0 / 1.35 GB, free: 6.266 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002938/0.7493, allocations: 55.94 kB / 1.35 GB, free: 6.211 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0004825/0.7498, allocations: 0.867 MB / 1.351 GB, free: 5.316 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.75, allocations: 76.59 kB / 1.351 GB, free: 5.242 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.75, allocations: 4.438 kB / 1.351 GB, free: 5.238 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.173e-06/0.75, allocations: 0 / 1.351 GB, free: 5.238 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.7505, allocations: 484.2 kB / 1.351 GB, free: 4.758 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.7527, allocations: 2.507 MB / 1.354 GB, free: 2.059 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.753, allocations: 0.732 MB / 1.354 GB, free: 1.301 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 9.62e-05/0.7531, allocations: 37.88 kB / 1.355 GB, free: 1.266 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.7532, allocations: 63.41 kB / 1.355 GB, free: 1.203 MB / 1.076 GB Notification: Performance of SimCode: time 2.6e-07/0.7532, allocations: 3.938 kB / 1.355 GB, free: 1.199 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9958/1.749, allocations: 4.043 MB / 1.359 GB, free: 13.25 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/16.04, allocations: 11.11 kB / 1.359 GB, free: 13.25 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches