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.001195/0.001195, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001139/0.001139, allocations: 194 kB / 16.25 MB, free: 6.637 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.268/1.268, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.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.398/2.398, allocations: 437 MB / 0.7101 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.89 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4909/0.4922, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1639/0.6562, allocations: 168.1 MB / 1.181 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006103/0.6623, allocations: 5.933 MB / 1.187 GB, free: 4.074 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002813/0.6626, allocations: 11.94 kB / 1.187 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0005661/0.6632, allocations: 155.1 kB / 1.187 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.6636, allocations: 83.56 kB / 1.187 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.6647, allocations: 498.5 kB / 1.188 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005092/0.6653, allocations: 422.6 kB / 1.188 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/0.6655, allocations: 139.5 kB / 1.188 GB, free: 2.785 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003433/0.6659, allocations: 191.3 kB / 1.188 GB, free: 2.598 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.6661, allocations: 151.4 kB / 1.188 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.6662, allocations: 16 kB / 1.188 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007234/0.6669, allocations: 466.7 kB / 1.189 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.64e-05/0.667, allocations: 71.8 kB / 1.189 GB, free: 1.906 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.6672, allocations: 111.4 kB / 1.189 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006491/0.6678, allocations: 462.6 kB / 1.189 GB, free: 1.344 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.6678, allocations: 7.984 kB / 1.189 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6678, allocations: 0 / 1.189 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.6678, allocations: 0 / 1.189 GB, free: 1.336 MB / 0.9356 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.0006084/0.6685, allocations: 0.5185 MB / 1.19 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.6685, allocations: 8.031 kB / 1.19 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.631e-05/0.6686, allocations: 58.55 kB / 1.19 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002801/0.6689, allocations: 43.7 kB / 1.19 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.6692, allocations: 259.9 kB / 1.19 GB, free: 368 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.6693, allocations: 139.4 kB / 1.19 GB, free: 204 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.832e-05/0.6693, allocations: 20 kB / 1.19 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004433/0.6698, allocations: 294.8 kB / 1.191 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6698, allocations: 0 / 1.191 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.255e-05/0.6698, allocations: 8 kB / 1.191 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/0.6698, allocations: 8 kB / 1.191 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.6702, allocations: 160.6 kB / 1.191 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001299/0.6715, allocations: 1.579 MB / 1.192 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.941e-05/0.6715, allocations: 169.1 kB / 1.193 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.346e-05/0.6716, allocations: 80.14 kB / 1.193 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.6716, allocations: 75.28 kB / 1.193 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.71e-05/0.6717, allocations: 125.7 kB / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.6717, allocations: 0 / 1.193 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.296e-05/0.6718, allocations: 45.42 kB / 1.193 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.6718, allocations: 126.7 kB / 1.193 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.6722, allocations: 314.5 kB / 1.193 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-06/0.6722, allocations: 25.7 kB / 1.193 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.6723, allocations: 191.2 kB / 1.194 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.21e-06/0.6723, allocations: 0 / 1.194 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-05/0.6724, allocations: 57.5 kB / 1.194 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.6725, allocations: 326.8 kB / 1.194 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.734e-05/0.6726, allocations: 39.97 kB / 1.194 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.6728, allocations: 166.5 kB / 1.194 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.673, allocations: 200.9 kB / 1.194 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.673, allocations: 0 / 1.194 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004057/0.6734, allocations: 209.6 kB / 1.195 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6735, allocations: 19.91 kB / 1.195 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.6735, allocations: 4 kB / 1.195 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.6735, allocations: 4 kB / 1.195 GB, free: 11.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.6736, allocations: 43.91 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.6737, allocations: 4 kB / 1.195 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.6738, allocations: 35.59 kB / 1.195 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.6739, allocations: 11.94 kB / 1.195 GB, free: 11.57 MB / 0.9512 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.0001357/0.674, allocations: 225.5 kB / 1.195 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.6741, allocations: 124.7 kB / 1.195 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/0.6742, allocations: 121.8 kB / 1.195 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.782e-05/0.6742, allocations: 180.2 kB / 1.195 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.792e-05/0.6743, allocations: 180.3 kB / 1.195 GB, free: 10.72 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.251e-05/0.6744, allocations: 180.3 kB / 1.196 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.6747, allocations: 489.1 kB / 1.196 GB, free: 10 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.108e-05/0.6747, allocations: 105 kB / 1.196 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.6747, allocations: 104.9 kB / 1.196 GB, free: 9.781 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.865e-05/0.6748, allocations: 180.2 kB / 1.196 GB, free: 9.598 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.6748, allocations: 184.2 kB / 1.197 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-05/0.6749, allocations: 176.3 kB / 1.197 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-05/0.675, allocations: 192.2 kB / 1.197 GB, free: 9.035 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.6751, allocations: 315.6 kB / 1.197 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.6752, allocations: 213.7 kB / 1.198 GB, free: 8.469 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.264e-05/0.6753, allocations: 180.3 kB / 1.198 GB, free: 8.285 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.6754, allocations: 109 kB / 1.198 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.6755, allocations: 188.5 kB / 1.198 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.6755, allocations: 101 kB / 1.198 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002264/0.6758, allocations: 217.9 kB / 1.198 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6758, allocations: 0 / 1.198 GB, free: 7.668 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003634/0.6762, allocations: 51.94 kB / 1.198 GB, free: 7.617 MB / 0.9512 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.0005912/0.6767, allocations: 0.8747 MB / 1.199 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.677, allocations: 75.78 kB / 1.199 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.677, allocations: 0 / 1.199 GB, free: 6.641 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.677, allocations: 5.25 kB / 1.199 GB, free: 6.637 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.6775, allocations: 482.5 kB / 1.2 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002539/0.68, allocations: 2.582 MB / 1.202 GB, free: 3.395 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.6803, allocations: 0.7359 MB / 1.203 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000156/0.6805, allocations: 37.88 kB / 1.203 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.637e-05/0.6806, allocations: 55.42 kB / 1.203 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/0.6806, allocations: 0 / 1.203 GB, free: 2.539 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9216/1.602, allocations: 3.89 MB / 1.207 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002417/1.602, allocations: 208.6 kB / 1.207 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/3.231, allocations: 0 / 1.207 GB, free: 14.51 MB / 0.9669 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=50 --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