Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.001504/0.001504, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.693/2.693, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 68.12 kB / 1.055 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9838/0.9853, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1981/1.183, allocations: 170.3 MB / 1.375 GB, free: 2.602 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007121/1.191, allocations: 6.002 MB / 1.381 GB, free: 12.59 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004418/1.191, allocations: 11.94 kB / 1.381 GB, free: 12.57 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007396/1.192, allocations: 190.7 kB / 1.381 GB, free: 12.39 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0004518/1.192, allocations: 87.44 kB / 1.381 GB, free: 12.3 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00145/1.194, allocations: 0.5177 MB / 1.381 GB, free: 11.78 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0005984/1.194, allocations: 410.7 kB / 1.382 GB, free: 11.38 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/1.195, allocations: 151.5 kB / 1.382 GB, free: 11.22 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004123/1.195, allocations: 187.4 kB / 1.382 GB, free: 11.04 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/1.196, allocations: 143.4 kB / 1.382 GB, free: 10.9 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/1.196, allocations: 16 kB / 1.382 GB, free: 10.88 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008662/1.196, allocations: 466.8 kB / 1.383 GB, free: 10.43 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.36e-05/1.197, allocations: 67.75 kB / 1.383 GB, free: 10.36 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/1.197, allocations: 99.48 kB / 1.383 GB, free: 10.26 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0005984/1.197, allocations: 460.4 kB / 1.383 GB, free: 9.812 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.197, allocations: 7.938 kB / 1.383 GB, free: 9.805 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.146e-06/1.197, allocations: 4 kB / 1.383 GB, free: 9.801 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.223e-06/1.197, allocations: 0 / 1.383 GB, free: 9.801 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005862/1.198, allocations: 0.5068 MB / 1.384 GB, free: 9.246 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/1.198, allocations: 8.031 kB / 1.384 GB, free: 9.238 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002716/1.198, allocations: 47.69 kB / 1.384 GB, free: 9.191 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/1.199, allocations: 268.6 kB / 1.384 GB, free: 8.891 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/1.199, allocations: 131.4 kB / 1.384 GB, free: 8.738 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/1.199, allocations: 20 kB / 1.384 GB, free: 8.719 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004166/1.199, allocations: 294.7 kB / 1.385 GB, free: 8.395 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/1.199, allocations: 11.92 kB / 1.385 GB, free: 8.383 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/1.199, allocations: 8 kB / 1.385 GB, free: 8.375 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-06/1.199, allocations: 8 kB / 1.385 GB, free: 8.367 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/1.2, allocations: 152.6 kB / 1.385 GB, free: 8.219 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/1.201, allocations: 1.587 MB / 1.386 GB, free: 6.543 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 8.637e-05/1.201, allocations: 169.1 kB / 1.386 GB, free: 6.367 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/1.201, allocations: 84.08 kB / 1.387 GB, free: 6.281 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/1.201, allocations: 83.28 kB / 1.387 GB, free: 6.199 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.423e-05/1.201, allocations: 105.8 kB / 1.387 GB, free: 6.086 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/1.201, allocations: 0 / 1.387 GB, free: 6.086 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 9.809e-05/1.201, allocations: 45.45 kB / 1.387 GB, free: 6.035 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/1.201, allocations: 126.7 kB / 1.387 GB, free: 5.898 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/1.202, allocations: 314.5 kB / 1.387 GB, free: 5.582 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/1.202, allocations: 29.7 kB / 1.387 GB, free: 5.547 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/1.202, allocations: 195.1 kB / 1.387 GB, free: 5.352 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-06/1.202, allocations: 4 kB / 1.387 GB, free: 5.348 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.054e-05/1.202, allocations: 41.7 kB / 1.387 GB, free: 5.301 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001122/1.202, allocations: 330.8 kB / 1.388 GB, free: 4.969 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.387e-05/1.202, allocations: 35.97 kB / 1.388 GB, free: 4.934 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/1.202, allocations: 162.8 kB / 1.388 GB, free: 4.715 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002146/1.202, allocations: 200.8 kB / 1.388 GB, free: 4.457 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/1.202, allocations: 4 kB / 1.388 GB, free: 4.453 MB / 1.107 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003863/1.203, allocations: 213.2 kB / 1.388 GB, free: 4.238 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.203, allocations: 15.92 kB / 1.388 GB, free: 4.223 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/1.203, allocations: 4 kB / 1.388 GB, free: 4.219 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/1.203, allocations: 8 kB / 1.388 GB, free: 4.211 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/1.203, allocations: 39.92 kB / 1.388 GB, free: 4.172 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/1.203, allocations: 7.938 kB / 1.388 GB, free: 4.164 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/1.203, allocations: 27.69 kB / 1.388 GB, free: 4.137 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/1.203, allocations: 16.38 kB / 1.388 GB, free: 4.121 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001411/1.203, allocations: 221 kB / 1.389 GB, free: 3.895 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.989e-05/1.203, allocations: 128.7 kB / 1.389 GB, free: 3.762 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.146e-05/1.204, allocations: 125.8 kB / 1.389 GB, free: 3.637 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.851e-05/1.204, allocations: 176.3 kB / 1.389 GB, free: 3.457 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.578e-05/1.204, allocations: 180.3 kB / 1.389 GB, free: 3.273 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.441e-05/1.204, allocations: 188.2 kB / 1.389 GB, free: 3.082 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002885/1.204, allocations: 481.1 kB / 1.39 GB, free: 2.555 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.924e-05/1.204, allocations: 108.9 kB / 1.39 GB, free: 2.441 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.412e-05/1.204, allocations: 101 kB / 1.39 GB, free: 2.336 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-05/1.204, allocations: 184.2 kB / 1.39 GB, free: 2.148 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.655e-05/1.204, allocations: 184.2 kB / 1.39 GB, free: 1.961 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.112e-05/1.204, allocations: 188.2 kB / 1.391 GB, free: 1.77 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.489e-05/1.204, allocations: 184.1 kB / 1.391 GB, free: 1.582 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/1.205, allocations: 315.6 kB / 1.391 GB, free: 1.25 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.205, allocations: 206.2 kB / 1.391 GB, free: 1.023 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.135e-05/1.205, allocations: 192.2 kB / 1.391 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/1.205, allocations: 109 kB / 1.392 GB, free: 0.7148 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/1.205, allocations: 180.3 kB / 1.392 GB, free: 0.5312 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/1.205, allocations: 104.9 kB / 1.392 GB, free: 432 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002175/1.205, allocations: 217.9 kB / 1.392 GB, free: 216 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/1.205, allocations: 0 / 1.392 GB, free: 216 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003511/1.206, allocations: 59.84 kB / 1.392 GB, free: 156 kB / 1.107 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.0003099/1.206, allocations: 206.5 kB / 1.392 GB, free: 15.94 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001917/1.206, allocations: 87.77 kB / 1.392 GB, free: 15.86 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.206, allocations: 0 / 1.392 GB, free: 15.86 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.512e-06/1.206, allocations: 0 / 1.392 GB, free: 15.86 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/1.207, allocations: 481.5 kB / 1.393 GB, free: 15.38 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/1.207, allocations: 414.6 kB / 1.393 GB, free: 14.94 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/1.207, allocations: 0.7359 MB / 1.394 GB, free: 14.18 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.871e-05/1.207, allocations: 19.42 kB / 1.394 GB, free: 14.16 MB / 1.123 GB Notification: Performance of SimCode: time 3.31e-07/1.207, allocations: 0 / 1.394 GB, free: 14.16 MB / 1.123 GB Notification: Performance of Templates: time 0.004747/1.212, allocations: 2.85 MB / 1.397 GB, free: 11.31 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches