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.001461/0.001461, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.266/1.266, allocations: 222.9 MB / 240.2 MB, free: 4.281 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.321/2.321, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 63.91 kB / 0.8693 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5056/0.5069, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1469/0.6539, allocations: 170.3 MB / 1.184 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005305/0.6592, allocations: 5.995 MB / 1.19 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000229/0.6594, allocations: 8 kB / 1.19 GB, free: 1.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004967/0.66, allocations: 186.7 kB / 1.19 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.6603, allocations: 95.36 kB / 1.19 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.6613, allocations: 0.5177 MB / 1.19 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004221/0.6617, allocations: 414.7 kB / 1.191 GB, free: 284 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002188/0.662, allocations: 139.6 kB / 1.191 GB, free: 140 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.6623, allocations: 187.3 kB / 1.191 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.6625, allocations: 155.3 kB / 1.191 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.6625, allocations: 16 kB / 1.191 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006734/0.6632, allocations: 454.8 kB / 1.192 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.882e-05/0.6633, allocations: 75.75 kB / 1.192 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.987e-05/0.6634, allocations: 99.48 kB / 1.192 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000549/0.6639, allocations: 442.7 kB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6639, allocations: 4 kB / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6639, allocations: 0 / 1.192 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.664, allocations: 0 / 1.192 GB, free: 14.73 MB / 0.9512 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.0004912/0.6645, allocations: 0.5107 MB / 1.193 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.6645, allocations: 12.03 kB / 1.193 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.6646, allocations: 62.53 kB / 1.193 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002442/0.6648, allocations: 39.7 kB / 1.193 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.6651, allocations: 254.6 kB / 1.193 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.6652, allocations: 131.4 kB / 1.193 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.6652, allocations: 20 kB / 1.193 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003782/0.6656, allocations: 310.7 kB / 1.194 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.6656, allocations: 0 / 1.194 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.092e-05/0.6656, allocations: 12 kB / 1.194 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.6656, allocations: 8 kB / 1.194 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002765/0.6659, allocations: 160.6 kB / 1.194 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.6671, allocations: 1.575 MB / 1.195 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.185e-05/0.6671, allocations: 177.1 kB / 1.195 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.312e-05/0.6672, allocations: 80.14 kB / 1.196 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.6672, allocations: 75.28 kB / 1.196 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.6672, allocations: 113.8 kB / 1.196 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.6672, allocations: 0 / 1.196 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.009e-05/0.6673, allocations: 49.36 kB / 1.196 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.6674, allocations: 130.7 kB / 1.196 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.6677, allocations: 318.5 kB / 1.196 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/0.6677, allocations: 29.64 kB / 1.196 GB, free: 10.39 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.556e-05/0.6678, allocations: 183.2 kB / 1.196 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.189e-06/0.6678, allocations: 4 kB / 1.196 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/0.6679, allocations: 49.56 kB / 1.196 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.668, allocations: 330.8 kB / 1.197 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/0.6681, allocations: 39.92 kB / 1.197 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.6682, allocations: 158.9 kB / 1.197 GB, free: 9.562 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.6684, allocations: 196.8 kB / 1.197 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.6684, allocations: 4 kB / 1.197 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003625/0.6688, allocations: 213 kB / 1.197 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.6688, allocations: 11.94 kB / 1.197 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.6688, allocations: 8.562 kB / 1.197 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.6689, allocations: 8 kB / 1.197 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.669, allocations: 43.92 kB / 1.197 GB, free: 9.02 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.669, allocations: 8 kB / 1.197 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.6692, allocations: 31.59 kB / 1.197 GB, free: 8.98 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.6692, allocations: 12 kB / 1.197 GB, free: 8.969 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.0001164/0.6693, allocations: 217 kB / 1.198 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.6694, allocations: 124.7 kB / 1.198 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.6695, allocations: 121.8 kB / 1.198 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.682e-05/0.6695, allocations: 196.3 kB / 1.198 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.482e-05/0.6696, allocations: 180.2 kB / 1.198 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.193e-05/0.6696, allocations: 176.3 kB / 1.198 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.6699, allocations: 477.1 kB / 1.199 GB, free: 7.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.61e-05/0.6699, allocations: 104.9 kB / 1.199 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.946e-05/0.6699, allocations: 113 kB / 1.199 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.335e-05/0.67, allocations: 184.1 kB / 1.199 GB, free: 6.988 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.655e-05/0.67, allocations: 180.2 kB / 1.199 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.476e-05/0.6701, allocations: 176.3 kB / 1.2 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.343e-05/0.6701, allocations: 184.2 kB / 1.2 GB, free: 6.438 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.6702, allocations: 319.6 kB / 1.2 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.185e-05/0.6703, allocations: 213.7 kB / 1.2 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.013e-05/0.6704, allocations: 184.2 kB / 1.2 GB, free: 5.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.6705, allocations: 101.3 kB / 1.201 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.6706, allocations: 176.3 kB / 1.201 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.14e-05/0.6706, allocations: 121 kB / 1.201 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002016/0.6708, allocations: 217.9 kB / 1.201 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6708, allocations: 0 / 1.201 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003322/0.6712, allocations: 55.92 kB / 1.201 GB, free: 5.004 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.0004704/0.6716, allocations: 0.8669 MB / 1.202 GB, free: 4.109 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001709/0.6718, allocations: 88.08 kB / 1.202 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.6718, allocations: 0 / 1.202 GB, free: 4.023 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.6718, allocations: 3.938 kB / 1.202 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004097/0.6723, allocations: 482.7 kB / 1.203 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.6744, allocations: 2.513 MB / 1.205 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.6747, allocations: 0.732 MB / 1.206 GB, free: 88 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001343/0.6748, allocations: 33.94 kB / 1.206 GB, free: 52 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.438e-05/0.6749, allocations: 63.45 kB / 1.206 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.6749, allocations: 0 / 1.206 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.92/2.595, allocations: 3.982 MB / 1.21 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.64/12.23, allocations: 6.906 kB / 1.21 GB, free: 12.09 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