Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: 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_10_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_10_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.001438/0.001438, allocations: 98.91 kB / 16.35 MB, free: 5.879 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.001783/0.001783, allocations: 199.2 kB / 17.3 MB, free: 5.52 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.575/2.575, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001541/0.001541, allocations: 65.06 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3472, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir): time 0.7103/1.058, allocations: 148 MB / 1.163 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.005144/1.063, allocations: 4.647 MB / 1.168 GB, free: 2.766 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003346/1.063, allocations: 11.56 kB / 1.168 GB, free: 2.762 MB / 0.8731 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.0007139/1.064, allocations: 162.7 kB / 1.168 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003499/1.064, allocations: 85.86 kB / 1.168 GB, free: 2.594 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001834/1.064, allocations: 60.23 kB / 1.168 GB, free: 2.562 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004291/1.065, allocations: 295.5 kB / 1.168 GB, free: 2.422 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002912/1.065, allocations: 105.1 kB / 1.168 GB, free: 2.367 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/1.065, allocations: 101.5 kB / 1.169 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000204/1.066, allocations: 142.5 kB / 1.169 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/1.066, allocations: 10.47 kB / 1.169 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 2.522e-05/1.066, allocations: 10.31 kB / 1.169 GB, free: 2.254 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 3.192e-05/1.066, allocations: 27.25 kB / 1.169 GB, free: 2.234 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 7.982e-05/1.066, allocations: 72.55 kB / 1.169 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/1.066, allocations: 162.5 kB / 1.169 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/1.066, allocations: 5.344 kB / 1.169 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.104e-06/1.066, allocations: 0 / 1.169 GB, free: 2.117 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.083e-05/1.066, allocations: 0 / 1.169 GB, free: 2.117 MB / 0.8731 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.0004762/1.066, allocations: 440 kB / 1.169 GB, free: 1.699 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/1.067, allocations: 13.84 kB / 1.169 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/1.067, allocations: 22.16 kB / 1.169 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003426/1.067, allocations: 248.5 kB / 1.17 GB, free: 1.453 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/1.067, allocations: 14.84 kB / 1.17 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/1.067, allocations: 17.03 kB / 1.17 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/1.067, allocations: 216.3 kB / 1.17 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/1.067, allocations: 5.375 kB / 1.17 GB, free: 1.246 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/1.067, allocations: 6.281 kB / 1.17 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/1.067, allocations: 4 kB / 1.17 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/1.067, allocations: 74.2 kB / 1.17 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/1.069, allocations: 1.586 MB / 1.172 GB, free: 15.67 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.597e-05/1.069, allocations: 170.7 kB / 1.172 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/1.069, allocations: 84.08 kB / 1.172 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/1.069, allocations: 75.94 kB / 1.172 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.725e-05/1.069, allocations: 113.4 kB / 1.172 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/1.069, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 9.343e-05/1.069, allocations: 50.23 kB / 1.172 GB, free: 15.18 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/1.069, allocations: 126.7 kB / 1.172 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/1.069, allocations: 246.8 kB / 1.172 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/1.069, allocations: 26.7 kB / 1.172 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/1.069, allocations: 147.9 kB / 1.173 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-06/1.069, allocations: 1.219 kB / 1.173 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/1.069, allocations: 24.12 kB / 1.173 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001187/1.07, allocations: 328.4 kB / 1.173 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.737e-05/1.07, allocations: 5.219 kB / 1.173 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.179e-05/1.07, allocations: 48.47 kB / 1.173 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.226e-05/1.07, allocations: 64.08 kB / 1.173 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.07, allocations: 1.188 kB / 1.173 GB, free: 14.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001746/1.07, allocations: 97.03 kB / 1.173 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/1.07, allocations: 5.562 kB / 1.173 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.07, allocations: 1.219 kB / 1.173 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1.07, allocations: 2.344 kB / 1.173 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.206e-05/1.07, allocations: 15.06 kB / 1.173 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/1.07, allocations: 4 kB / 1.173 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/1.07, allocations: 21.47 kB / 1.173 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/1.07, allocations: 3.625 kB / 1.173 GB, free: 14.17 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.0001046/1.07, allocations: 200 kB / 1.173 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/1.07, allocations: 127.8 kB / 1.173 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.805e-05/1.07, allocations: 118.3 kB / 1.174 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.427e-05/1.07, allocations: 181 kB / 1.174 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-05/1.071, allocations: 183.1 kB / 1.174 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.558e-05/1.071, allocations: 185.4 kB / 1.174 GB, free: 13.19 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002833/1.071, allocations: 459.8 kB / 1.175 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.929e-05/1.071, allocations: 101 kB / 1.175 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.101e-05/1.071, allocations: 110.3 kB / 1.175 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.229e-05/1.071, allocations: 183.3 kB / 1.175 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.063e-05/1.071, allocations: 181.6 kB / 1.175 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.935e-05/1.071, allocations: 184.2 kB / 1.175 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.337e-05/1.071, allocations: 180.1 kB / 1.175 GB, free: 11.77 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001544/1.071, allocations: 326.8 kB / 1.176 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/1.071, allocations: 192.6 kB / 1.176 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.828e-05/1.072, allocations: 191.4 kB / 1.176 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.789e-05/1.072, allocations: 102.4 kB / 1.176 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/1.072, allocations: 187.8 kB / 1.176 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.975e-05/1.072, allocations: 102.2 kB / 1.176 GB, free: 10.64 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000177/1.072, allocations: 176.3 kB / 1.177 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.072, allocations: 1 kB / 1.177 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0002567/1.072, allocations: 18.97 kB / 1.177 GB, free: 10.54 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.0001406/1.072, allocations: 185.5 kB / 1.177 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 7.709e-05/1.072, allocations: 18.61 kB / 1.177 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/1.072, allocations: 0 / 1.177 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/1.072, allocations: 3.938 kB / 1.177 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006062/1.073, allocations: 0.5056 MB / 1.177 GB, free: 9.895 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004671/1.074, allocations: 310.8 kB / 1.178 GB, free: 9.637 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/1.074, allocations: 0.716 MB / 1.178 GB, free: 8.938 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 6.119e-05/1.074, allocations: 18.66 kB / 1.178 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/1.074, allocations: 15.12 kB / 1.178 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of SimCode: time 3.9e-07/1.074, allocations: 0 / 1.178 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of Templates: time 0.004177/1.078, allocations: 1.594 MB / 1.18 GB, free: 8.398 MB / 0.8887 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches