Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.001211/0.001211, 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.001102/0.001102, allocations: 191.9 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.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.569/2.569, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.95 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2353, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1413/0.3766, allocations: 148 MB / 1.197 GB, free: 3.688 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004363/0.381, allocations: 4.646 MB / 1.202 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.3812, allocations: 11.94 kB / 1.202 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.3816, allocations: 166.8 kB / 1.202 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.3819, allocations: 83.44 kB / 1.202 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.382, allocations: 67.91 kB / 1.202 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.3823, allocations: 298.9 kB / 1.203 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.3826, allocations: 149.2 kB / 1.203 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.3827, allocations: 107.6 kB / 1.203 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001808/0.3829, allocations: 151.4 kB / 1.203 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.383, allocations: 16 kB / 1.203 GB, free: 14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 3.106e-05/0.383, allocations: 16 kB / 1.203 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.468e-05/0.3831, allocations: 71.8 kB / 1.203 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 9.058e-05/0.3832, allocations: 103.5 kB / 1.203 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.3834, allocations: 223.4 kB / 1.203 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3834, allocations: 4 kB / 1.203 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3834, allocations: 0 / 1.203 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.3834, allocations: 0 / 1.203 GB, free: 13.59 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004071/0.3838, allocations: 491.1 kB / 1.204 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.3839, allocations: 16.56 kB / 1.204 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.359e-05/0.3839, allocations: 58.73 kB / 1.204 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.384, allocations: 24.66 kB / 1.204 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.3842, allocations: 259.8 kB / 1.204 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.3842, allocations: 16.81 kB / 1.204 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.3843, allocations: 20.38 kB / 1.204 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003674/0.3846, allocations: 308.8 kB / 1.205 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.3847, allocations: 0 / 1.205 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.3847, allocations: 19.98 kB / 1.205 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.3847, allocations: 8 kB / 1.205 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.3849, allocations: 123.7 kB / 1.205 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.386, allocations: 1.961 MB / 1.207 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.63e-05/0.386, allocations: 177.1 kB / 1.207 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.606e-05/0.3861, allocations: 80.14 kB / 1.207 GB, free: 9.789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3861, allocations: 75.28 kB / 1.207 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/0.3861, allocations: 109.8 kB / 1.207 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3861, allocations: 0 / 1.207 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.604e-05/0.3862, allocations: 57.3 kB / 1.207 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.866e-05/0.3863, allocations: 130.7 kB / 1.207 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003032/0.3866, allocations: 336.5 kB / 1.208 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.3866, allocations: 25.7 kB / 1.208 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/0.3867, allocations: 159.6 kB / 1.208 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-06/0.3867, allocations: 4 kB / 1.208 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.3868, allocations: 25.62 kB / 1.208 GB, free: 8.832 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3869, allocations: 330.8 kB / 1.208 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.057e-05/0.3869, allocations: 15.98 kB / 1.208 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.787e-05/0.3869, allocations: 54.86 kB / 1.208 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.882e-05/0.387, allocations: 78.73 kB / 1.208 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.387, allocations: 0 / 1.208 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001545/0.3872, allocations: 105.3 kB / 1.208 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.3872, allocations: 4 kB / 1.208 GB, free: 8.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.3872, allocations: 11.94 kB / 1.208 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.3872, allocations: 0 / 1.208 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.439e-05/0.3873, allocations: 15.98 kB / 1.208 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3873, allocations: 4 kB / 1.208 GB, free: 8.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.895e-05/0.3874, allocations: 23.69 kB / 1.208 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.3874, allocations: 4 kB / 1.208 GB, free: 8.133 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001124/0.3875, allocations: 217.2 kB / 1.209 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.3876, allocations: 124.7 kB / 1.209 GB, free: 7.781 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.643e-05/0.3876, allocations: 137.8 kB / 1.209 GB, free: 7.633 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.69e-05/0.3877, allocations: 176.3 kB / 1.209 GB, free: 7.453 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.818e-05/0.3877, allocations: 176.3 kB / 1.209 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.918e-05/0.3878, allocations: 188.2 kB / 1.209 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.3881, allocations: 477.2 kB / 1.21 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-05/0.3881, allocations: 104.9 kB / 1.21 GB, free: 6.449 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.3881, allocations: 113 kB / 1.21 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.507e-05/0.3882, allocations: 176.3 kB / 1.21 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.914e-05/0.3882, allocations: 184.1 kB / 1.21 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.69e-05/0.3883, allocations: 176.3 kB / 1.21 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.801e-05/0.3883, allocations: 188.2 kB / 1.211 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.3885, allocations: 327.5 kB / 1.211 GB, free: 5.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.865e-05/0.3886, allocations: 206.1 kB / 1.211 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.356e-05/0.3887, allocations: 180.2 kB / 1.211 GB, free: 4.84 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.218e-05/0.3888, allocations: 113 kB / 1.211 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.409e-05/0.3888, allocations: 184.2 kB / 1.212 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.093e-05/0.3888, allocations: 104.9 kB / 1.212 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002069/0.3891, allocations: 239 kB / 1.212 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3891, allocations: 0 / 1.212 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002559/0.3893, allocations: 28 kB / 1.212 GB, free: 4.164 MB / 0.9669 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.0003176/0.3896, allocations: 0.8319 MB / 1.213 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.674e-05/0.3897, allocations: 23.92 kB / 1.213 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.3897, allocations: 4 kB / 1.213 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.3897, allocations: 4.438 kB / 1.213 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/0.3904, allocations: 0.5238 MB / 1.213 GB, free: 2.746 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002141/0.3926, allocations: 2.517 MB / 1.216 GB, free: 116 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.3929, allocations: 0.748 MB / 1.217 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.293e-05/0.3929, allocations: 26.28 kB / 1.217 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.251e-05/0.393, allocations: 59.42 kB / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.393, allocations: 0 / 1.217 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2532/0.6463, allocations: 4.732 MB / 1.221 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.608/9.254, allocations: 10.41 kB / 1.221 GB, free: 10.65 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches