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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 119.4 kB / 16.37 MB, free: 5.984 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.00126/0.00126, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.215/2.215, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 59.03 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3548, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.7194/1.074, allocations: 148 MB / 1.171 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005509/1.08, allocations: 4.647 MB / 1.176 GB, free: 9.246 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003923/1.08, allocations: 11.75 kB / 1.176 GB, free: 9.242 MB / 0.8887 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0006661/1.081, allocations: 160.2 kB / 1.176 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003676/1.081, allocations: 83.62 kB / 1.176 GB, free: 9.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000165/1.081, allocations: 64.91 kB / 1.176 GB, free: 9.043 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000465/1.082, allocations: 308.2 kB / 1.176 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/1.082, allocations: 139.5 kB / 1.177 GB, free: 8.84 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/1.082, allocations: 120.9 kB / 1.177 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/1.083, allocations: 145 kB / 1.177 GB, free: 8.719 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/1.083, allocations: 20.47 kB / 1.177 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-05/1.083, allocations: 19.59 kB / 1.177 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.229e-05/1.083, allocations: 62.05 kB / 1.177 GB, free: 8.684 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/1.083, allocations: 107.4 kB / 1.177 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002695/1.083, allocations: 233.1 kB / 1.177 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.083, allocations: 0 / 1.177 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.323e-06/1.083, allocations: 0 / 1.177 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.191e-06/1.083, allocations: 1.062 kB / 1.177 GB, free: 8.453 MB / 0.8887 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.000548/1.084, allocations: 495.3 kB / 1.178 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/1.084, allocations: 10.28 kB / 1.178 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/1.084, allocations: 29.09 kB / 1.178 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003844/1.084, allocations: 268.7 kB / 1.178 GB, free: 7.699 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/1.084, allocations: 13.03 kB / 1.178 GB, free: 7.691 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.41e-05/1.084, allocations: 26.3 kB / 1.178 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004498/1.085, allocations: 315.4 kB / 1.178 GB, free: 7.406 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/1.085, allocations: 8.969 kB / 1.178 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/1.085, allocations: 11.22 kB / 1.178 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/1.085, allocations: 7.562 kB / 1.178 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/1.085, allocations: 116 kB / 1.178 GB, free: 7.336 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001423/1.087, allocations: 1.97 MB / 1.18 GB, free: 5.395 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.717e-05/1.087, allocations: 177.1 kB / 1.181 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.661e-05/1.087, allocations: 81.55 kB / 1.181 GB, free: 5.129 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/1.087, allocations: 75.28 kB / 1.181 GB, free: 5.055 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/1.087, allocations: 106.8 kB / 1.181 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/1.087, allocations: 0 / 1.181 GB, free: 4.941 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.184e-05/1.087, allocations: 57.22 kB / 1.181 GB, free: 4.891 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/1.087, allocations: 134.6 kB / 1.181 GB, free: 4.746 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/1.087, allocations: 326.5 kB / 1.181 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/1.087, allocations: 27.14 kB / 1.181 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/1.087, allocations: 164.2 kB / 1.181 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 5.641e-06/1.087, allocations: 1.156 kB / 1.181 GB, free: 4.348 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/1.087, allocations: 23.12 kB / 1.182 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.088, allocations: 337.1 kB / 1.182 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.916e-05/1.088, allocations: 4.219 kB / 1.182 GB, free: 3.992 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.639e-05/1.088, allocations: 60.97 kB / 1.182 GB, free: 3.918 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.194e-05/1.088, allocations: 71.03 kB / 1.182 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.088, allocations: 0.875 kB / 1.182 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000177/1.088, allocations: 100.4 kB / 1.182 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.088, allocations: 10.75 kB / 1.182 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.088, allocations: 2.25 kB / 1.182 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.088, allocations: 9.719 kB / 1.182 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.286e-05/1.088, allocations: 15.84 kB / 1.182 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/1.088, allocations: 2.625 kB / 1.182 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.958e-05/1.088, allocations: 30.72 kB / 1.182 GB, free: 3.734 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-06/1.088, allocations: 7.797 kB / 1.182 GB, free: 3.73 MB / 0.8887 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.0001242/1.088, allocations: 213.5 kB / 1.182 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.632e-05/1.088, allocations: 132.5 kB / 1.182 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.968e-05/1.088, allocations: 123.2 kB / 1.183 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-05/1.089, allocations: 184.1 kB / 1.183 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.613e-05/1.089, allocations: 177.6 kB / 1.183 GB, free: 2.914 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.652e-05/1.089, allocations: 181.5 kB / 1.183 GB, free: 2.73 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/1.089, allocations: 486.3 kB / 1.184 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.004e-05/1.089, allocations: 102.2 kB / 1.184 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.659e-05/1.089, allocations: 106.1 kB / 1.184 GB, free: 2.012 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.945e-05/1.089, allocations: 185.4 kB / 1.184 GB, free: 1.824 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.21e-05/1.089, allocations: 181.4 kB / 1.184 GB, free: 1.641 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.698e-05/1.089, allocations: 181.3 kB / 1.184 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.525e-05/1.089, allocations: 180.3 kB / 1.184 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/1.09, allocations: 333.8 kB / 1.185 GB, free: 0.9375 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/1.09, allocations: 202.5 kB / 1.185 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.423e-05/1.09, allocations: 181.7 kB / 1.185 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/1.09, allocations: 108.9 kB / 1.185 GB, free: 436 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/1.09, allocations: 185.4 kB / 1.185 GB, free: 244 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/1.09, allocations: 106.5 kB / 1.186 GB, free: 132 kB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002628/1.09, allocations: 235.5 kB / 1.186 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.09, allocations: 0 / 1.186 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000275/1.091, allocations: 32.19 kB / 1.186 GB, free: 15.97 MB / 0.9044 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.0001319/1.091, allocations: 171.8 kB / 1.186 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 9.366e-05/1.091, allocations: 33.67 kB / 1.186 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.091, allocations: 0 / 1.186 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/1.091, allocations: 1.094 kB / 1.186 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006883/1.092, allocations: 0.5229 MB / 1.186 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000558/1.092, allocations: 390.8 kB / 1.187 GB, free: 15 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/1.092, allocations: 0.7493 MB / 1.188 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.757e-05/1.092, allocations: 29.97 kB / 1.188 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/1.093, allocations: 17.59 kB / 1.188 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of SimCode: time 4.11e-07/1.093, allocations: 0 / 1.188 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of Templates: time 0.005653/1.098, allocations: 2.346 MB / 1.19 GB, free: 13.1 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.makefile (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 & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > 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