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.001148/0.001148, allocations: 108.4 kB / 16.37 MB, free: 6.477 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.001123/0.001124, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.592/2.592, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 60.19 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3955, allocations: 153 MB / 1.027 GB, free: 2.043 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.8143/1.21, allocations: 148 MB / 1.171 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006022/1.216, allocations: 4.635 MB / 1.176 GB, free: 9.289 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/1.216, allocations: 10.44 kB / 1.176 GB, free: 9.285 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.0007529/1.217, allocations: 166 kB / 1.176 GB, free: 9.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003878/1.217, allocations: 82.84 kB / 1.176 GB, free: 9.117 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/1.218, allocations: 64.45 kB / 1.176 GB, free: 9.082 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004028/1.218, allocations: 298.5 kB / 1.176 GB, free: 8.941 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/1.218, allocations: 106.5 kB / 1.176 GB, free: 8.883 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/1.219, allocations: 102.9 kB / 1.177 GB, free: 8.836 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/1.219, allocations: 133.4 kB / 1.177 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/1.219, allocations: 10.19 kB / 1.177 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.782e-05/1.219, allocations: 10.84 kB / 1.177 GB, free: 8.777 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.682e-05/1.219, allocations: 30.06 kB / 1.177 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.844e-05/1.219, allocations: 75.56 kB / 1.177 GB, free: 8.711 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/1.219, allocations: 158.8 kB / 1.177 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.219, allocations: 0 / 1.177 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.956e-06/1.219, allocations: 0 / 1.177 GB, free: 8.641 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.898e-06/1.219, allocations: 5 kB / 1.177 GB, free: 8.637 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.0005203/1.22, allocations: 446.5 kB / 1.177 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/1.22, allocations: 8.969 kB / 1.177 GB, free: 8.195 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.092e-05/1.22, allocations: 22.12 kB / 1.177 GB, free: 8.184 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/1.22, allocations: 257.1 kB / 1.178 GB, free: 7.922 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/1.22, allocations: 11.06 kB / 1.178 GB, free: 7.918 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/1.22, allocations: 18.12 kB / 1.178 GB, free: 7.91 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/1.221, allocations: 215.6 kB / 1.178 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/1.221, allocations: 1.156 kB / 1.178 GB, free: 7.703 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/1.221, allocations: 10.97 kB / 1.178 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/1.221, allocations: 4.438 kB / 1.178 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/1.221, allocations: 67.52 kB / 1.178 GB, free: 7.664 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/1.222, allocations: 1.585 MB / 1.18 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.833e-05/1.222, allocations: 173 kB / 1.18 GB, free: 5.887 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/1.222, allocations: 87.45 kB / 1.18 GB, free: 5.801 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/1.222, allocations: 79.28 kB / 1.18 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.836e-05/1.222, allocations: 107.2 kB / 1.18 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.222, allocations: 0 / 1.18 GB, free: 5.609 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.000115/1.222, allocations: 45.58 kB / 1.18 GB, free: 5.566 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/1.223, allocations: 131.8 kB / 1.18 GB, free: 5.426 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/1.223, allocations: 245.1 kB / 1.18 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/1.223, allocations: 30.86 kB / 1.18 GB, free: 5.219 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/1.223, allocations: 145.2 kB / 1.181 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 3.587e-06/1.223, allocations: 1.094 kB / 1.181 GB, free: 5.082 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/1.223, allocations: 22.33 kB / 1.181 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.223, allocations: 327.3 kB / 1.181 GB, free: 4.734 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.937e-05/1.223, allocations: 7.375 kB / 1.181 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.735e-05/1.223, allocations: 49.19 kB / 1.181 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.089e-05/1.223, allocations: 65.27 kB / 1.181 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.223, allocations: 0 / 1.181 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/1.223, allocations: 89.81 kB / 1.181 GB, free: 4.531 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/1.224, allocations: 10.89 kB / 1.181 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.224, allocations: 1.156 kB / 1.181 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/1.224, allocations: 2.25 kB / 1.181 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/1.224, allocations: 10.47 kB / 1.181 GB, free: 4.527 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/1.224, allocations: 10.53 kB / 1.181 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/1.224, allocations: 20.47 kB / 1.181 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/1.224, allocations: 7.375 kB / 1.181 GB, free: 4.5 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.0001281/1.224, allocations: 199.8 kB / 1.181 GB, free: 4.301 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.474e-05/1.224, allocations: 125.8 kB / 1.181 GB, free: 4.18 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.739e-05/1.224, allocations: 123.5 kB / 1.182 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.051e-05/1.224, allocations: 189.6 kB / 1.182 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-05/1.224, allocations: 181.3 kB / 1.182 GB, free: 3.688 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.001e-05/1.224, allocations: 177.6 kB / 1.182 GB, free: 3.508 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003009/1.225, allocations: 453.9 kB / 1.182 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-05/1.225, allocations: 114 kB / 1.183 GB, free: 2.91 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.471e-05/1.225, allocations: 102 kB / 1.183 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.13e-05/1.225, allocations: 186.2 kB / 1.183 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.121e-05/1.225, allocations: 181.1 kB / 1.183 GB, free: 2.434 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.636e-05/1.225, allocations: 177.2 kB / 1.183 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.896e-05/1.225, allocations: 181.3 kB / 1.183 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/1.225, allocations: 326.9 kB / 1.184 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001155/1.225, allocations: 198.7 kB / 1.184 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.681e-05/1.225, allocations: 182.4 kB / 1.184 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/1.225, allocations: 102.1 kB / 1.184 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.435e-05/1.226, allocations: 189.3 kB / 1.184 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/1.226, allocations: 106.1 kB / 1.184 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001806/1.226, allocations: 180.7 kB / 1.185 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.41e-07/1.226, allocations: 1.031 kB / 1.185 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002685/1.226, allocations: 22.62 kB / 1.185 GB, free: 0.8047 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.0001423/1.226, allocations: 170.5 kB / 1.185 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 9.584e-05/1.226, allocations: 24.05 kB / 1.185 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.226, allocations: 1.625 kB / 1.185 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-06/1.226, allocations: 0 / 1.185 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/1.227, allocations: 0.5026 MB / 1.185 GB, free: 160 kB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005143/1.228, allocations: 318 kB / 1.186 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/1.228, allocations: 0.7139 MB / 1.186 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.205e-05/1.228, allocations: 18.7 kB / 1.186 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/1.228, allocations: 14.97 kB / 1.186 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of SimCode: time 3.41e-07/1.228, allocations: 1 kB / 1.186 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of Templates: time 0.004962/1.233, allocations: 1.586 MB / 1.188 GB, free: 14.38 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 cvode -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