Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.InletToAirMoistAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",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.007106/0.007106, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001629/0.001629, allocations: 197.2 kB / 16.68 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.264/1.264, 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 9.1.3-maint.9.1.x/package.mo): time 2.068/2.068, allocations: 390.3 MB / 0.6648 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 67.89 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7222/0.7234, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1729/0.8963, allocations: 174 MB / 1.257 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008577/0.9049, allocations: 9.518 MB / 1.267 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003052/0.9053, allocations: 15.88 kB / 1.267 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005182/0.9058, allocations: 190.6 kB / 1.267 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.9061, allocations: 91.36 kB / 1.267 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.9063, allocations: 67.86 kB / 1.267 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.9067, allocations: 322.7 kB / 1.267 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.907, allocations: 208.8 kB / 1.268 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003126/0.9074, allocations: 167.4 kB / 1.268 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.9075, allocations: 123.4 kB / 1.268 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.9075, allocations: 24 kB / 1.268 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.328e-05/0.9076, allocations: 20 kB / 1.268 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.927e-05/0.9076, allocations: 71.81 kB / 1.268 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.9078, allocations: 131.3 kB / 1.268 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.908, allocations: 294.8 kB / 1.268 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.908, allocations: 0 / 1.268 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.908, allocations: 0 / 1.268 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.908, allocations: 0 / 1.268 GB, free: 4.445 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0004403/0.9085, allocations: 0.5068 MB / 1.269 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.9085, allocations: 12.03 kB / 1.269 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.275e-05/0.9086, allocations: 62.53 kB / 1.269 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.9086, allocations: 35.56 kB / 1.269 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.909, allocations: 283.6 kB / 1.269 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.909, allocations: 20.56 kB / 1.269 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.909, allocations: 24 kB / 1.269 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.9094, allocations: 323.9 kB / 1.27 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.9094, allocations: 3.938 kB / 1.27 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.9095, allocations: 12 kB / 1.27 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.9095, allocations: 11.94 kB / 1.27 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.9097, allocations: 147.7 kB / 1.27 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.9107, allocations: 1.808 MB / 1.272 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.439e-05/0.9108, allocations: 177.1 kB / 1.272 GB, free: 0.7891 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.39e-05/0.9108, allocations: 84.08 kB / 1.272 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.9108, allocations: 75.28 kB / 1.272 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.9109, allocations: 105.8 kB / 1.272 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 2.454e-06/0.9109, allocations: 0 / 1.272 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.23e-05/0.911, allocations: 57.34 kB / 1.272 GB, free: 464 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.911, allocations: 130.7 kB / 1.272 GB, free: 320 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00035/0.9114, allocations: 373.7 kB / 1.273 GB, free: 15.94 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.9114, allocations: 25.7 kB / 1.273 GB, free: 15.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.9115, allocations: 171.8 kB / 1.273 GB, free: 15.74 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.9115, allocations: 0 / 1.273 GB, free: 15.74 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.9115, allocations: 17.72 kB / 1.273 GB, free: 15.71 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.9116, allocations: 342.8 kB / 1.273 GB, free: 15.37 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.11e-05/0.9117, allocations: 0 / 1.273 GB, free: 15.37 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.496e-05/0.9117, allocations: 40.3 kB / 1.273 GB, free: 15.32 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.776e-05/0.9117, allocations: 48.17 kB / 1.273 GB, free: 15.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9117, allocations: 112 / 1.273 GB, free: 15.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001336/0.9119, allocations: 97.12 kB / 1.273 GB, free: 15.15 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.9119, allocations: 7.984 kB / 1.273 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.9119, allocations: 4 kB / 1.273 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.9119, allocations: 0 / 1.273 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.912, allocations: 12.06 kB / 1.273 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.912, allocations: 0 / 1.273 GB, free: 15.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.431e-05/0.9121, allocations: 27.84 kB / 1.273 GB, free: 15.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.9121, allocations: 8 kB / 1.273 GB, free: 15.09 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.00011/0.9122, allocations: 209.1 kB / 1.273 GB, free: 14.88 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/0.9123, allocations: 132.5 kB / 1.274 GB, free: 14.74 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.766e-05/0.9123, allocations: 134.9 kB / 1.274 GB, free: 14.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.471e-05/0.9124, allocations: 180.2 kB / 1.274 GB, free: 14.41 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.632e-05/0.9124, allocations: 184.2 kB / 1.274 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.391e-05/0.9125, allocations: 180.3 kB / 1.274 GB, free: 14.04 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.9127, allocations: 489 kB / 1.275 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.579e-05/0.9128, allocations: 104.9 kB / 1.275 GB, free: 13.39 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.9128, allocations: 112.9 kB / 1.275 GB, free: 13.28 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.507e-05/0.9128, allocations: 184.2 kB / 1.275 GB, free: 13.09 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.9129, allocations: 180.3 kB / 1.275 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.637e-05/0.913, allocations: 180.3 kB / 1.275 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.527e-05/0.913, allocations: 184.2 kB / 1.276 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.9131, allocations: 331.4 kB / 1.276 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.323e-05/0.9132, allocations: 217.7 kB / 1.276 GB, free: 11.95 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.9133, allocations: 180.5 kB / 1.276 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.122e-05/0.9134, allocations: 101 kB / 1.276 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.9134, allocations: 180.3 kB / 1.277 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.051e-05/0.9135, allocations: 112.9 kB / 1.277 GB, free: 11.36 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002227/0.9137, allocations: 267.2 kB / 1.277 GB, free: 11.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9137, allocations: 4 kB / 1.277 GB, free: 11.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002475/0.914, allocations: 31.94 kB / 1.277 GB, free: 11.07 MB / 1.014 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.0002969/0.9143, allocations: 0.828 MB / 1.278 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.197e-05/0.9143, allocations: 24.17 kB / 1.278 GB, free: 10.19 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9143, allocations: 4.062 kB / 1.278 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.9143, allocations: 0 / 1.278 GB, free: 10.18 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/0.915, allocations: 0.5535 MB / 1.278 GB, free: 9.625 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002206/0.9173, allocations: 2.691 MB / 1.281 GB, free: 6.832 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.9175, allocations: 0.7595 MB / 1.282 GB, free: 6.047 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.908e-05/0.9176, allocations: 30.97 kB / 1.282 GB, free: 6.016 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.146e-05/0.9177, allocations: 75.41 kB / 1.282 GB, free: 5.941 MB / 1.014 GB Notification: Performance of SimCode: time 2.31e-07/0.9177, allocations: 0 / 1.282 GB, free: 5.941 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.217/2.135, allocations: 5.914 MB / 1.288 GB, free: 196 kB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/15.63, allocations: 3.938 kB / 1.288 GB, free: 192 kB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches