Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.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_9_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_9_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.000882/0.000882, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009325/0.0009325, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.3 MB / 0.6653 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003382/0.0003382, allocations: 12 kB / 0.8145 GB, free: 14.31 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9119/0.9123, allocations: 142.3 MB / 0.9535 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.179/1.091, allocations: 143 MB / 1.093 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005141/1.096, allocations: 5.035 MB / 1.098 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/1.097, allocations: 7.938 kB / 1.098 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003722/1.097, allocations: 87.52 kB / 1.098 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003531/1.098, allocations: 135.6 kB / 1.098 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/1.098, allocations: 199.5 kB / 1.098 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000463/1.098, allocations: 319.1 kB / 1.099 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/1.099, allocations: 93.66 kB / 1.099 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002555/1.099, allocations: 147.5 kB / 1.099 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/1.099, allocations: 107.5 kB / 1.099 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/1.099, allocations: 8 kB / 1.099 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/1.099, allocations: 91.8 kB / 1.099 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.649e-05/1.1, allocations: 47.83 kB / 1.099 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/1.1, allocations: 65.64 kB / 1.099 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002621/1.1, allocations: 211.4 kB / 1.1 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/1.1, allocations: 0 / 1.1 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.933e-06/1.1, allocations: 0 / 1.1 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.52e-06/1.1, allocations: 0 / 1.1 GB, free: 10.28 MB / 0.8575 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.000477/1.1, allocations: 474.9 kB / 1.1 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/1.1, allocations: 12.03 kB / 1.1 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/1.101, allocations: 43.7 kB / 1.1 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/1.101, allocations: 256.1 kB / 1.1 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/1.101, allocations: 131.4 kB / 1.1 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.437e-05/1.101, allocations: 24 kB / 1.1 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/1.102, allocations: 290.8 kB / 1.101 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.102, allocations: 3.938 kB / 1.101 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/1.102, allocations: 12 kB / 1.101 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/1.102, allocations: 4 kB / 1.101 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002752/1.102, allocations: 164.5 kB / 1.101 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/1.103, allocations: 1.579 MB / 1.102 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.734e-05/1.103, allocations: 165.1 kB / 1.103 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/1.103, allocations: 79.22 kB / 1.103 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/1.103, allocations: 117.8 kB / 1.103 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/1.103, allocations: 0 / 1.103 GB, free: 6.703 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.252e-05/1.103, allocations: 41.52 kB / 1.103 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/1.104, allocations: 126.7 kB / 1.103 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/1.104, allocations: 310.6 kB / 1.103 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/1.104, allocations: 25.7 kB / 1.103 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/1.104, allocations: 199.1 kB / 1.103 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-06/1.104, allocations: 0 / 1.103 GB, free: 5.977 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/1.104, allocations: 11.94 kB / 1.103 GB, free: 5.965 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001175/1.104, allocations: 330.8 kB / 1.104 GB, free: 5.633 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/1.104, allocations: 35.97 kB / 1.104 GB, free: 5.598 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/1.104, allocations: 162.9 kB / 1.104 GB, free: 5.379 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/1.105, allocations: 63.91 kB / 1.104 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.105, allocations: 0 / 1.104 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004213/1.105, allocations: 217 kB / 1.104 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.105, allocations: 8.609 kB / 1.104 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.105, allocations: 4 kB / 1.104 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/1.105, allocations: 12 kB / 1.104 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/1.105, allocations: 35.92 kB / 1.104 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/1.105, allocations: 8 kB / 1.104 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/1.105, allocations: 31.69 kB / 1.104 GB, free: 5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/1.105, allocations: 8 kB / 1.104 GB, free: 4.992 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001337/1.106, allocations: 224.9 kB / 1.105 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.144e-05/1.106, allocations: 124.6 kB / 1.105 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/1.106, allocations: 125.8 kB / 1.105 GB, free: 4.504 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-05/1.106, allocations: 180.3 kB / 1.105 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.717e-05/1.106, allocations: 180.2 kB / 1.105 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.684e-05/1.106, allocations: 180.2 kB / 1.105 GB, free: 3.953 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/1.106, allocations: 485 kB / 1.106 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.139e-05/1.106, allocations: 109 kB / 1.106 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.46e-05/1.106, allocations: 108.9 kB / 1.106 GB, free: 3.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.326e-05/1.106, allocations: 180.3 kB / 1.106 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.756e-05/1.106, allocations: 176.3 kB / 1.106 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.815e-05/1.106, allocations: 192.2 kB / 1.106 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.517e-05/1.107, allocations: 176.3 kB / 1.107 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/1.107, allocations: 323.6 kB / 1.107 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/1.107, allocations: 205.8 kB / 1.107 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.904e-05/1.107, allocations: 184.5 kB / 1.107 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/1.107, allocations: 104.9 kB / 1.107 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/1.107, allocations: 188.2 kB / 1.108 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.25e-05/1.107, allocations: 109 kB / 1.108 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002073/1.107, allocations: 213.9 kB / 1.108 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/1.107, allocations: 0 / 1.108 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003409/1.108, allocations: 55.91 kB / 1.108 GB, free: 1.031 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001801/1.108, allocations: 190.4 kB / 1.108 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001836/1.108, allocations: 83.89 kB / 1.108 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/1.108, allocations: 0 / 1.108 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/1.108, allocations: 0 / 1.108 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/1.108, allocations: 0.5513 MB / 1.109 GB, free: 200 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/1.109, allocations: 433.4 kB / 1.109 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/1.109, allocations: 0.7476 MB / 1.11 GB, free: 14.97 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001558/1.109, allocations: 33.94 kB / 1.11 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/1.109, allocations: 19.44 kB / 1.11 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/1.109, allocations: 0 / 1.11 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of Templates: time 0.003895/1.113, allocations: 1.521 MB / 1.111 GB, free: 13.41 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches