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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.009271/0.009271, allocations: 106.9 kB / 15.74 MB, free: 5.582 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.001697/0.001697, allocations: 197.7 kB / 16.67 MB, free: 5.508 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.253/2.253, allocations: 390.2 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 63.91 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.076, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2564/1.332, allocations: 170.3 MB / 1.254 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007158/1.339, allocations: 6.01 MB / 1.26 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003872/1.34, allocations: 8 kB / 1.26 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000717/1.34, allocations: 178.7 kB / 1.26 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000489/1.341, allocations: 99.3 kB / 1.26 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001508/1.343, allocations: 0.5177 MB / 1.261 GB, free: 12.54 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0006808/1.343, allocations: 410.8 kB / 1.261 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003144/1.344, allocations: 143.6 kB / 1.261 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/1.344, allocations: 191.2 kB / 1.262 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/1.344, allocations: 147.4 kB / 1.262 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/1.344, allocations: 16 kB / 1.262 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009223/1.345, allocations: 462.8 kB / 1.262 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/1.345, allocations: 63.83 kB / 1.262 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/1.346, allocations: 107.5 kB / 1.262 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000831/1.346, allocations: 460.4 kB / 1.263 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/1.346, allocations: 0 / 1.263 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.413e-06/1.346, allocations: 0 / 1.263 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.845e-05/1.347, allocations: 0 / 1.263 GB, free: 10.57 MB / 0.9981 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.000746/1.347, allocations: 0.5107 MB / 1.263 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.347, allocations: 12.03 kB / 1.263 GB, free: 10 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003171/1.348, allocations: 39.7 kB / 1.263 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/1.348, allocations: 270.5 kB / 1.264 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/1.348, allocations: 131.4 kB / 1.264 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/1.348, allocations: 24 kB / 1.264 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/1.349, allocations: 294.8 kB / 1.264 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/1.349, allocations: 0 / 1.264 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/1.349, allocations: 12 kB / 1.264 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.926e-06/1.349, allocations: 4 kB / 1.264 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/1.349, allocations: 172.6 kB / 1.264 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001505/1.351, allocations: 1.575 MB / 1.266 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/1.351, allocations: 169.1 kB / 1.266 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.051e-05/1.351, allocations: 84.14 kB / 1.266 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/1.351, allocations: 75.28 kB / 1.266 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.645e-05/1.351, allocations: 117.8 kB / 1.266 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.502e-06/1.351, allocations: 0 / 1.266 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001267/1.351, allocations: 45.45 kB / 1.266 GB, free: 6.793 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.708e-05/1.351, allocations: 126.7 kB / 1.266 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/1.352, allocations: 314.5 kB / 1.267 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/1.352, allocations: 29.7 kB / 1.267 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/1.352, allocations: 183.2 kB / 1.267 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-06/1.352, allocations: 7.984 kB / 1.267 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.003e-05/1.352, allocations: 45.61 kB / 1.267 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.352, allocations: 326.8 kB / 1.267 GB, free: 5.734 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.523e-05/1.352, allocations: 35.97 kB / 1.267 GB, free: 5.699 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/1.352, allocations: 161 kB / 1.267 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/1.353, allocations: 200.9 kB / 1.268 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/1.353, allocations: 7.938 kB / 1.268 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004735/1.353, allocations: 217.2 kB / 1.268 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/1.353, allocations: 7.938 kB / 1.268 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/1.353, allocations: 4 kB / 1.268 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.92e-05/1.353, allocations: 8 kB / 1.268 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/1.353, allocations: 35.92 kB / 1.268 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.598e-05/1.353, allocations: 11.98 kB / 1.268 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/1.354, allocations: 32.03 kB / 1.268 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/1.354, allocations: 16 kB / 1.268 GB, free: 4.883 MB / 0.9981 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.0002174/1.354, allocations: 217 kB / 1.268 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.354, allocations: 132.7 kB / 1.268 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.241e-05/1.354, allocations: 117.8 kB / 1.268 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.161e-05/1.354, allocations: 188.2 kB / 1.269 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.357e-05/1.354, allocations: 176.3 kB / 1.269 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-05/1.354, allocations: 180.3 kB / 1.269 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000454/1.355, allocations: 481.1 kB / 1.269 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.743e-05/1.355, allocations: 105 kB / 1.269 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/1.355, allocations: 108.9 kB / 1.27 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.624e-05/1.355, allocations: 184.2 kB / 1.27 GB, free: 2.914 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.31e-05/1.355, allocations: 180.3 kB / 1.27 GB, free: 2.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.763e-05/1.355, allocations: 180.2 kB / 1.27 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.725e-05/1.355, allocations: 180.3 kB / 1.27 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/1.355, allocations: 331.5 kB / 1.271 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/1.356, allocations: 206.1 kB / 1.271 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/1.356, allocations: 184.2 kB / 1.271 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/1.356, allocations: 105 kB / 1.271 GB, free: 1.492 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.133e-05/1.356, allocations: 188.2 kB / 1.271 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.788e-05/1.356, allocations: 113 kB / 1.271 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002513/1.356, allocations: 213.9 kB / 1.272 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.356, allocations: 0 / 1.272 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004601/1.357, allocations: 63.84 kB / 1.272 GB, free: 0.9141 MB / 0.9981 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.0003645/1.357, allocations: 206.5 kB / 1.272 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002229/1.357, allocations: 83.7 kB / 1.272 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/1.357, allocations: 0 / 1.272 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/1.357, allocations: 3.938 kB / 1.272 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005533/1.358, allocations: 492.1 kB / 1.272 GB, free: 136 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006433/1.359, allocations: 388.9 kB / 1.273 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/1.359, allocations: 0.7359 MB / 1.273 GB, free: 14.96 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000132/1.359, allocations: 33.94 kB / 1.273 GB, free: 14.93 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/1.359, allocations: 19.44 kB / 1.273 GB, free: 14.91 MB / 1.014 GB Notification: Performance of SimCode: time 1.062e-06/1.359, allocations: 0 / 1.273 GB, free: 14.91 MB / 1.014 GB Notification: Performance of Templates: time 0.006341/1.366, allocations: 1.879 MB / 1.275 GB, free: 13.04 MB / 1.014 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches