Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.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.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAir.m_flow|conAir.T|souRev.outlet.backward.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 105.7 kB / 16.37 MB, free: 6.48 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.001241/0.001241, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.32/1.32, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.224/2.224, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 56.5 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2356, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.5371/0.7727, allocations: 148 MB / 1.171 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005439/0.7782, allocations: 4.643 MB / 1.176 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000352/0.7786, allocations: 11.47 kB / 1.176 GB, free: 9.297 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.0007107/0.7793, allocations: 166.7 kB / 1.176 GB, free: 9.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003315/0.7797, allocations: 81.36 kB / 1.176 GB, free: 9.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001524/0.7798, allocations: 65.28 kB / 1.176 GB, free: 9.094 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.7803, allocations: 295.4 kB / 1.176 GB, free: 8.953 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002797/0.7805, allocations: 110.4 kB / 1.176 GB, free: 8.895 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001974/0.7808, allocations: 99.06 kB / 1.177 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.781, allocations: 130.3 kB / 1.177 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.781, allocations: 10.72 kB / 1.177 GB, free: 8.793 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.758e-05/0.781, allocations: 14.59 kB / 1.177 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.119e-05/0.7811, allocations: 29.23 kB / 1.177 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.458e-05/0.7811, allocations: 75.28 kB / 1.177 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002054/0.7813, allocations: 162.1 kB / 1.177 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.7814, allocations: 5.281 kB / 1.177 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7814, allocations: 0 / 1.177 GB, free: 8.648 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.7814, allocations: 0 / 1.177 GB, free: 8.648 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005608/0.7819, allocations: 445.2 kB / 1.177 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.782, allocations: 9.031 kB / 1.177 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.878e-05/0.7821, allocations: 23.41 kB / 1.177 GB, free: 8.215 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004334/0.7825, allocations: 257.2 kB / 1.178 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.7825, allocations: 11.19 kB / 1.178 GB, free: 7.953 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.7825, allocations: 20.84 kB / 1.178 GB, free: 7.941 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.783, allocations: 213.2 kB / 1.178 GB, free: 7.738 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.783, allocations: 5.031 kB / 1.178 GB, free: 7.734 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.783, allocations: 6.25 kB / 1.178 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.783, allocations: 4.406 kB / 1.178 GB, free: 7.73 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.7831, allocations: 71.94 kB / 1.178 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.7847, allocations: 1.584 MB / 1.18 GB, free: 6.098 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.7848, allocations: 166.3 kB / 1.18 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.7849, allocations: 88.08 kB / 1.18 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.7849, allocations: 76.47 kB / 1.18 GB, free: 5.762 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.914e-05/0.785, allocations: 117.8 kB / 1.18 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.785, allocations: 1.188 kB / 1.18 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 8.879e-05/0.7851, allocations: 41.45 kB / 1.18 GB, free: 5.598 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.7853, allocations: 127.9 kB / 1.18 GB, free: 5.461 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.7856, allocations: 245 kB / 1.18 GB, free: 5.289 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.982e-05/0.7856, allocations: 25.7 kB / 1.18 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.7857, allocations: 146.2 kB / 1.181 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.998e-06/0.7857, allocations: 0 / 1.181 GB, free: 5.121 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.7858, allocations: 19.88 kB / 1.181 GB, free: 5.102 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.786, allocations: 331.1 kB / 1.181 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.786, allocations: 7.344 kB / 1.181 GB, free: 4.77 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.237e-05/0.786, allocations: 56.88 kB / 1.181 GB, free: 4.699 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.307e-05/0.7861, allocations: 56.8 kB / 1.181 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.7861, allocations: 1.062 kB / 1.181 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001759/0.7863, allocations: 90 kB / 1.181 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.7863, allocations: 5.375 kB / 1.181 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.7864, allocations: 1.344 kB / 1.181 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.7864, allocations: 11.44 kB / 1.181 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.7865, allocations: 18.02 kB / 1.181 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.7865, allocations: 2.25 kB / 1.181 GB, free: 4.555 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.332e-05/0.7865, allocations: 21.41 kB / 1.181 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.7865, allocations: 3.312 kB / 1.181 GB, free: 4.539 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.000126/0.7867, allocations: 199.8 kB / 1.181 GB, free: 4.34 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.7868, allocations: 124.6 kB / 1.181 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.7868, allocations: 127.8 kB / 1.182 GB, free: 4.102 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.877e-05/0.7869, allocations: 185.5 kB / 1.182 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001431/0.7871, allocations: 181.6 kB / 1.182 GB, free: 3.73 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001459/0.7872, allocations: 177.6 kB / 1.182 GB, free: 3.551 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004102/0.7876, allocations: 466 kB / 1.182 GB, free: 3.059 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-05/0.7877, allocations: 105 kB / 1.183 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.7878, allocations: 110 kB / 1.183 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.361e-05/0.7879, allocations: 181.4 kB / 1.183 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/0.788, allocations: 177.3 kB / 1.183 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.568e-05/0.7881, allocations: 185.3 kB / 1.183 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001304/0.7882, allocations: 177.2 kB / 1.183 GB, free: 2.105 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.7884, allocations: 326.4 kB / 1.184 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/0.7885, allocations: 202.5 kB / 1.184 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.7887, allocations: 177.7 kB / 1.184 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.7888, allocations: 106.4 kB / 1.184 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.7889, allocations: 180.2 kB / 1.184 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.7889, allocations: 110.2 kB / 1.184 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001914/0.7891, allocations: 181.5 kB / 1.185 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7891, allocations: 0 / 1.185 GB, free: 0.8438 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002921/0.7894, allocations: 19.78 kB / 1.185 GB, free: 0.8438 MB / 0.8887 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.0001431/0.7896, allocations: 170.8 kB / 1.185 GB, free: 0.6836 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.7897, allocations: 23.8 kB / 1.185 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.7897, allocations: 9.375 kB / 1.185 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.7897, allocations: 0 / 1.185 GB, free: 0.6641 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008101/0.7905, allocations: 0.5017 MB / 1.185 GB, free: 192 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.7911, allocations: 317.7 kB / 1.186 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.7916, allocations: 0.7143 MB / 1.186 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.768e-05/0.7916, allocations: 18.81 kB / 1.186 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.7917, allocations: 14.72 kB / 1.186 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/0.7917, allocations: 0 / 1.186 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of Templates: time 0.004857/0.7965, allocations: 1.593 MB / 1.188 GB, free: 14.41 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches