Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_11_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.001527/0.001527, 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.001799/0.001799, allocations: 192.1 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.6/2.6, allocations: 469.8 MB / 0.7424 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 66.92 kB / 0.9087 GB, free: 34.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.26, allocations: 159.1 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1793/0.4393, allocations: 174.1 MB / 1.234 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009563/0.4489, allocations: 9.506 MB / 1.243 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.4491, allocations: 11.94 kB / 1.243 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004538/0.4496, allocations: 186.7 kB / 1.244 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.4498, allocations: 95.3 kB / 1.244 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.4499, allocations: 75.91 kB / 1.244 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003525/0.4503, allocations: 322.6 kB / 1.244 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003296/0.4506, allocations: 204.9 kB / 1.244 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000288/0.4509, allocations: 167.4 kB / 1.244 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001443/0.4511, allocations: 119.4 kB / 1.244 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.134e-05/0.4511, allocations: 20 kB / 1.244 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.557e-05/0.4512, allocations: 20 kB / 1.245 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.679e-05/0.4513, allocations: 83.75 kB / 1.245 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.4514, allocations: 127.3 kB / 1.245 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.4517, allocations: 271.1 kB / 1.245 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.4517, allocations: 4 kB / 1.245 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.133e-06/0.4517, allocations: 0 / 1.245 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4517, allocations: 0 / 1.245 GB, free: 4.27 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.0004949/0.4522, allocations: 0.5068 MB / 1.245 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.182e-05/0.4522, allocations: 8.031 kB / 1.245 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.475e-05/0.4523, allocations: 66.53 kB / 1.246 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.4523, allocations: 35.56 kB / 1.246 GB, free: 3.598 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.4526, allocations: 266.5 kB / 1.246 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.4527, allocations: 20.56 kB / 1.246 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.4527, allocations: 27.98 kB / 1.246 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000429/0.4531, allocations: 321.5 kB / 1.246 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4532, allocations: 3.938 kB / 1.246 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.4532, allocations: 12 kB / 1.246 GB, free: 2.879 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.4532, allocations: 11.94 kB / 1.246 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002219/0.4534, allocations: 151.6 kB / 1.246 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.4547, allocations: 1.816 MB / 1.248 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.726e-05/0.4548, allocations: 169.1 kB / 1.248 GB, free: 0.6289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.4549, allocations: 84.08 kB / 1.248 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.4549, allocations: 75.28 kB / 1.248 GB, free: 480 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.4549, allocations: 113.8 kB / 1.249 GB, free: 356 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.4549, allocations: 0 / 1.249 GB, free: 356 kB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.567e-05/0.455, allocations: 61.41 kB / 1.249 GB, free: 288 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.4551, allocations: 126.7 kB / 1.249 GB, free: 148 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3647/0.8198, allocations: 371.2 kB / 1.249 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.921e-06/0.8198, allocations: 25.7 kB / 1.249 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.552e-05/0.8199, allocations: 163 kB / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.8199, allocations: 0 / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.572e-05/0.82, allocations: 17.7 kB / 1.249 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.33e-05/0.82, allocations: 342.9 kB / 1.25 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.528e-05/0.8201, allocations: 3.594 kB / 1.25 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.325e-05/0.8201, allocations: 39.03 kB / 1.25 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.8201, allocations: 41.33 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.8201, allocations: 0.7188 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001475/0.8203, allocations: 91.33 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.8203, allocations: 8.344 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.8203, allocations: 1.75 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.8203, allocations: 2.703 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.147e-05/0.8204, allocations: 12.48 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.8204, allocations: 4.672 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.085e-05/0.8205, allocations: 30.77 kB / 1.25 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.8205, allocations: 5.625 kB / 1.25 GB, free: 191 MB / 0.9981 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 8.145e-05/0.8206, allocations: 209.9 kB / 1.25 GB, free: 190.8 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.436e-05/0.8207, allocations: 139.1 kB / 1.25 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.8207, allocations: 125.2 kB / 1.25 GB, free: 190.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/0.8207, allocations: 188.1 kB / 1.25 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/0.8208, allocations: 177.8 kB / 1.251 GB, free: 190.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.8208, allocations: 182.9 kB / 1.251 GB, free: 190 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.821, allocations: 493.8 kB / 1.251 GB, free: 189.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.137e-05/0.821, allocations: 108.6 kB / 1.251 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.094e-05/0.821, allocations: 106.4 kB / 1.251 GB, free: 189.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.737e-05/0.8211, allocations: 177.8 kB / 1.252 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.8211, allocations: 182.1 kB / 1.252 GB, free: 189 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.725e-05/0.8211, allocations: 186.5 kB / 1.252 GB, free: 188.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.778e-05/0.8211, allocations: 181.3 kB / 1.252 GB, free: 188.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.789e-05/0.8212, allocations: 334.7 kB / 1.252 GB, free: 188.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.8213, allocations: 213.3 kB / 1.253 GB, free: 188.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.8213, allocations: 182.7 kB / 1.253 GB, free: 187.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.8214, allocations: 105.9 kB / 1.253 GB, free: 187.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.8214, allocations: 182.1 kB / 1.253 GB, free: 187.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.178e-05/0.8214, allocations: 102.7 kB / 1.253 GB, free: 187.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002275/0.8217, allocations: 269.4 kB / 1.254 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8217, allocations: 3.438 kB / 1.254 GB, free: 187.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002434/0.8219, allocations: 27.75 kB / 1.254 GB, free: 187.4 MB / 0.9981 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.000206/0.8221, allocations: 0.8347 MB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.869e-05/0.8222, allocations: 21.67 kB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.8222, allocations: 0.9688 kB / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.8222, allocations: 0 / 1.254 GB, free: 186.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006928/0.8229, allocations: 0.5509 MB / 1.255 GB, free: 186.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.8251, allocations: 2.711 MB / 1.258 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.8252, allocations: 0.7532 MB / 1.258 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.088e-05/0.8253, allocations: 31.11 kB / 1.258 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.619e-05/0.8254, allocations: 76.59 kB / 1.258 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.8254, allocations: 0.6562 kB / 1.258 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.628/2.453, allocations: 5.84 MB / 1.264 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.755/12.21, allocations: 14.16 kB / 1.264 GB, free: 183.3 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches