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.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.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.001235/0.001235, allocations: 114.3 kB / 16.37 MB, free: 6 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.001349/0.001349, allocations: 195.9 kB / 17.31 MB, free: 5.613 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 65.28 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3244, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.874/1.198, allocations: 170.3 MB / 1.193 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.007975/1.206, allocations: 6.012 MB / 1.199 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005109/1.207, allocations: 10.56 kB / 1.199 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0007854/1.208, allocations: 194.2 kB / 1.199 GB, free: 6.078 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0004432/1.208, allocations: 85.06 kB / 1.199 GB, free: 6.008 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/1.21, allocations: 0.5109 MB / 1.2 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0006018/1.211, allocations: 416.7 kB / 1.2 GB, free: 5.383 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003187/1.211, allocations: 137.3 kB / 1.2 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004048/1.212, allocations: 193.8 kB / 1.2 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002496/1.212, allocations: 142.6 kB / 1.201 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.602e-05/1.212, allocations: 16.5 kB / 1.201 GB, free: 5.109 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009887/1.213, allocations: 468 kB / 1.201 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001175/1.213, allocations: 64.88 kB / 1.201 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/1.213, allocations: 104.7 kB / 1.201 GB, free: 4.734 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007811/1.214, allocations: 454.9 kB / 1.202 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.077e-05/1.214, allocations: 4 kB / 1.202 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.246e-06/1.214, allocations: 0 / 1.202 GB, free: 4.457 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.08e-05/1.214, allocations: 0 / 1.202 GB, free: 4.457 MB / 0.9044 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.0008384/1.215, allocations: 0.5231 MB / 1.202 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/1.215, allocations: 11.94 kB / 1.202 GB, free: 3.957 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003813/1.215, allocations: 42.45 kB / 1.202 GB, free: 3.941 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004505/1.216, allocations: 269 kB / 1.202 GB, free: 3.676 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/1.216, allocations: 126.3 kB / 1.203 GB, free: 3.543 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/1.216, allocations: 22.97 kB / 1.203 GB, free: 3.535 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004972/1.217, allocations: 299.8 kB / 1.203 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/1.217, allocations: 0 / 1.203 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.771e-05/1.217, allocations: 10.56 kB / 1.203 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/1.217, allocations: 7.625 kB / 1.203 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/1.217, allocations: 157.8 kB / 1.203 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001404/1.218, allocations: 1.585 MB / 1.205 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.167e-05/1.219, allocations: 169.1 kB / 1.205 GB, free: 1.516 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/1.219, allocations: 84.14 kB / 1.205 GB, free: 1.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/1.219, allocations: 79.27 kB / 1.205 GB, free: 1.352 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/1.219, allocations: 108.8 kB / 1.205 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.219, allocations: 0 / 1.205 GB, free: 1.238 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 9.516e-05/1.219, allocations: 53.39 kB / 1.205 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.108e-05/1.219, allocations: 126.7 kB / 1.205 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/1.219, allocations: 320.4 kB / 1.205 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/1.219, allocations: 25.7 kB / 1.206 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/1.219, allocations: 186.4 kB / 1.206 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-06/1.219, allocations: 0 / 1.206 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/1.22, allocations: 49.8 kB / 1.206 GB, free: 0.5859 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.22, allocations: 328.1 kB / 1.206 GB, free: 268 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.709e-05/1.22, allocations: 34.16 kB / 1.206 GB, free: 252 kB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/1.22, allocations: 162.1 kB / 1.206 GB, free: 60 kB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/1.22, allocations: 200.1 kB / 1.206 GB, free: 15.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.22, allocations: 6.562 kB / 1.206 GB, free: 15.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004081/1.221, allocations: 211.4 kB / 1.207 GB, free: 15.71 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/1.221, allocations: 12.12 kB / 1.207 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/1.221, allocations: 6.531 kB / 1.207 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/1.221, allocations: 8.094 kB / 1.207 GB, free: 15.71 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/1.221, allocations: 44.16 kB / 1.207 GB, free: 15.69 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/1.221, allocations: 5.531 kB / 1.207 GB, free: 15.69 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/1.221, allocations: 30.44 kB / 1.207 GB, free: 15.67 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/1.221, allocations: 18.5 kB / 1.207 GB, free: 15.66 MB / 0.92 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.0001493/1.221, allocations: 225.2 kB / 1.207 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.478e-05/1.221, allocations: 119.9 kB / 1.207 GB, free: 15.33 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.492e-05/1.221, allocations: 127.7 kB / 1.207 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.236e-05/1.222, allocations: 177.7 kB / 1.207 GB, free: 15.03 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-05/1.222, allocations: 187.2 kB / 1.208 GB, free: 14.84 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-05/1.222, allocations: 176.3 kB / 1.208 GB, free: 14.66 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000348/1.222, allocations: 485.7 kB / 1.208 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.939e-05/1.222, allocations: 109.7 kB / 1.208 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-05/1.222, allocations: 101 kB / 1.208 GB, free: 13.94 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.531e-05/1.222, allocations: 181.8 kB / 1.209 GB, free: 13.76 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.633e-05/1.222, allocations: 187 kB / 1.209 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.796e-05/1.222, allocations: 184.9 kB / 1.209 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.498e-05/1.222, allocations: 184.3 kB / 1.209 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/1.223, allocations: 316.7 kB / 1.209 GB, free: 12.88 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/1.223, allocations: 211.4 kB / 1.21 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/1.223, allocations: 186.5 kB / 1.21 GB, free: 12.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/1.223, allocations: 110.1 kB / 1.21 GB, free: 12.35 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/1.223, allocations: 178.9 kB / 1.21 GB, free: 12.17 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/1.223, allocations: 104.9 kB / 1.21 GB, free: 12.06 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002532/1.223, allocations: 216.8 kB / 1.21 GB, free: 11.92 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.61e-07/1.223, allocations: 4 kB / 1.21 GB, free: 11.91 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003849/1.224, allocations: 50.28 kB / 1.21 GB, free: 11.91 MB / 0.92 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.0002993/1.224, allocations: 214.9 kB / 1.211 GB, free: 11.73 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002064/1.224, allocations: 83.61 kB / 1.211 GB, free: 11.69 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/1.224, allocations: 0 / 1.211 GB, free: 11.69 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.993e-06/1.224, allocations: 5.188 kB / 1.211 GB, free: 11.68 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005184/1.225, allocations: 481.7 kB / 1.211 GB, free: 11.22 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/1.225, allocations: 397.4 kB / 1.212 GB, free: 10.91 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/1.226, allocations: 0.7392 MB / 1.212 GB, free: 10.18 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0001123/1.226, allocations: 32.78 kB / 1.212 GB, free: 10.16 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.847e-05/1.226, allocations: 18.84 kB / 1.212 GB, free: 10.15 MB / 0.92 GB Notification: Performance of SimCode: time 3.9e-07/1.226, allocations: 0 / 1.212 GB, free: 10.15 MB / 0.92 GB Notification: Performance of Templates: time 0.004775/1.231, allocations: 1.827 MB / 1.214 GB, free: 9.238 MB / 0.92 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 -s cvode -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