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.007415/0.007415, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001672/0.001672, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.482/2.482, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 59.91 kB / 1.018 GB, free: 9.938 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7954/0.7968, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1873/0.9842, allocations: 170.3 MB / 1.332 GB, free: 8.789 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00715/0.9913, allocations: 5.995 MB / 1.338 GB, free: 2.773 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.9917, allocations: 8 kB / 1.338 GB, free: 2.766 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006689/0.9924, allocations: 178.7 kB / 1.339 GB, free: 2.59 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004214/0.9929, allocations: 99.36 kB / 1.339 GB, free: 2.492 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.9942, allocations: 0.5294 MB / 1.339 GB, free: 1.961 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005755/0.9948, allocations: 430.4 kB / 1.34 GB, free: 1.539 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.9951, allocations: 139.5 kB / 1.34 GB, free: 1.398 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000404/0.9955, allocations: 195.3 kB / 1.34 GB, free: 1.207 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.9958, allocations: 143.4 kB / 1.34 GB, free: 1.066 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.9958, allocations: 20 kB / 1.34 GB, free: 1.047 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009056/0.9967, allocations: 458.8 kB / 1.34 GB, free: 0.5977 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.9969, allocations: 75.69 kB / 1.341 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.997, allocations: 103.5 kB / 1.341 GB, free: 432 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008012/0.9978, allocations: 454.6 kB / 1.341 GB, free: 15.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.9978, allocations: 0 / 1.341 GB, free: 15.98 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.813e-06/0.9978, allocations: 4 kB / 1.341 GB, free: 15.97 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.9978, allocations: 0 / 1.341 GB, free: 15.97 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.000647/0.9985, allocations: 0.5185 MB / 1.342 GB, free: 15.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.9985, allocations: 8.922 kB / 1.342 GB, free: 15.4 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.117e-05/0.9986, allocations: 62.53 kB / 1.342 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.9989, allocations: 47.7 kB / 1.342 GB, free: 15.28 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.9993, allocations: 262.5 kB / 1.342 GB, free: 14.98 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.9994, allocations: 131.4 kB / 1.342 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.9995, allocations: 24 kB / 1.342 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.9999, allocations: 294.8 kB / 1.342 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1, allocations: 0 / 1.342 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/1, allocations: 12 kB / 1.342 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/1, allocations: 8 kB / 1.342 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/1, allocations: 156.6 kB / 1.343 GB, free: 14.31 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/1.002, allocations: 1.591 MB / 1.344 GB, free: 12.63 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 8.711e-05/1.002, allocations: 169.1 kB / 1.344 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.107e-05/1.002, allocations: 80.14 kB / 1.344 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.73e-05/1.002, allocations: 79.28 kB / 1.344 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/1.002, allocations: 109.8 kB / 1.345 GB, free: 12.18 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 3.296e-06/1.002, allocations: 4 kB / 1.345 GB, free: 12.18 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 9.374e-05/1.002, allocations: 45.45 kB / 1.345 GB, free: 12.12 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/1.002, allocations: 126.7 kB / 1.345 GB, free: 11.99 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/1.003, allocations: 314.5 kB / 1.345 GB, free: 11.67 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/1.003, allocations: 25.7 kB / 1.345 GB, free: 11.64 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/1.003, allocations: 195.2 kB / 1.345 GB, free: 11.44 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-06/1.003, allocations: 0 / 1.345 GB, free: 11.44 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/1.003, allocations: 41.7 kB / 1.345 GB, free: 11.39 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000126/1.003, allocations: 330.8 kB / 1.346 GB, free: 11.06 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.365e-05/1.003, allocations: 39.97 kB / 1.346 GB, free: 11.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/1.003, allocations: 165 kB / 1.346 GB, free: 10.8 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/1.003, allocations: 196.9 kB / 1.346 GB, free: 10.55 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.003, allocations: 0 / 1.346 GB, free: 10.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004202/1.004, allocations: 225.2 kB / 1.346 GB, free: 10.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.004, allocations: 11.94 kB / 1.346 GB, free: 10.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/1.004, allocations: 4 kB / 1.346 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/1.004, allocations: 4 kB / 1.346 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/1.004, allocations: 43.92 kB / 1.346 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/1.004, allocations: 4 kB / 1.346 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/1.004, allocations: 27.69 kB / 1.346 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/1.004, allocations: 11.98 kB / 1.346 GB, free: 10.21 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.0001461/1.005, allocations: 225.2 kB / 1.346 GB, free: 9.984 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.212e-05/1.005, allocations: 132.6 kB / 1.347 GB, free: 9.848 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.832e-05/1.005, allocations: 121.8 kB / 1.347 GB, free: 9.723 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.615e-05/1.005, allocations: 184.2 kB / 1.347 GB, free: 9.535 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.068e-05/1.005, allocations: 176.3 kB / 1.347 GB, free: 9.355 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.009e-05/1.005, allocations: 184.3 kB / 1.347 GB, free: 9.168 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/1.005, allocations: 485.1 kB / 1.348 GB, free: 8.637 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-05/1.005, allocations: 101 kB / 1.348 GB, free: 8.531 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.365e-05/1.005, allocations: 104.9 kB / 1.348 GB, free: 8.422 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-05/1.005, allocations: 184.2 kB / 1.348 GB, free: 8.234 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/1.006, allocations: 184.2 kB / 1.348 GB, free: 8.047 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.958e-05/1.006, allocations: 184.2 kB / 1.348 GB, free: 7.859 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-05/1.006, allocations: 184.3 kB / 1.349 GB, free: 7.672 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/1.006, allocations: 319.6 kB / 1.349 GB, free: 7.336 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/1.006, allocations: 206.1 kB / 1.349 GB, free: 7.109 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.26e-05/1.006, allocations: 188.2 kB / 1.349 GB, free: 6.918 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/1.006, allocations: 105 kB / 1.349 GB, free: 6.809 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.036e-05/1.006, allocations: 188.2 kB / 1.35 GB, free: 6.617 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.675e-05/1.006, allocations: 101 kB / 1.35 GB, free: 6.512 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002448/1.007, allocations: 221.9 kB / 1.35 GB, free: 6.297 MB / 1.076 GB Notification: Performance of sort global known variables: time 2e-07/1.007, allocations: 0 / 1.35 GB, free: 6.297 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003703/1.007, allocations: 55.84 kB / 1.35 GB, free: 6.242 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.0005849/1.008, allocations: 0.8657 MB / 1.351 GB, free: 5.352 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000206/1.008, allocations: 84.95 kB / 1.351 GB, free: 5.27 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.008, allocations: 0 / 1.351 GB, free: 5.27 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/1.008, allocations: 0 / 1.351 GB, free: 5.27 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005023/1.008, allocations: 484.2 kB / 1.351 GB, free: 4.789 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/1.011, allocations: 2.496 MB / 1.354 GB, free: 2.102 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/1.011, allocations: 0.7359 MB / 1.354 GB, free: 1.34 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001247/1.011, allocations: 33.94 kB / 1.354 GB, free: 1.309 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.911e-05/1.012, allocations: 55.42 kB / 1.355 GB, free: 1.254 MB / 1.076 GB Notification: Performance of SimCode: time 2.4e-07/1.012, allocations: 0 / 1.355 GB, free: 1.254 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/1.033, allocations: 4.049 MB / 1.358 GB, free: 13.3 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/8.776, allocations: 21.58 kB / 1.359 GB, free: 13.28 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=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