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.001487/0.001487, allocations: 108.1 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.00167/0.00167, allocations: 189.6 kB / 17.34 MB, free: 5.762 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.423/1.423, 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 9.1.3-maint.9.1.x/package.mo): time 2.229/2.229, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9017/0.904, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2134/1.117, allocations: 170.3 MB / 1.255 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007408/1.125, allocations: 6.014 MB / 1.261 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004881/1.125, allocations: 4 kB / 1.261 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006928/1.126, allocations: 186.7 kB / 1.261 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004309/1.127, allocations: 99.36 kB / 1.261 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001764/1.128, allocations: 0.5333 MB / 1.262 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00085/1.129, allocations: 410.8 kB / 1.262 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/1.13, allocations: 139.6 kB / 1.262 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005893/1.13, allocations: 191.2 kB / 1.262 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/1.131, allocations: 147.4 kB / 1.262 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.414e-05/1.131, allocations: 16 kB / 1.262 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/1.132, allocations: 466.8 kB / 1.263 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001477/1.132, allocations: 67.81 kB / 1.263 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001753/1.132, allocations: 99.48 kB / 1.263 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/1.134, allocations: 460.4 kB / 1.264 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.134, allocations: 4 kB / 1.264 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.585e-06/1.134, allocations: 0 / 1.264 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.916e-05/1.134, allocations: 0 / 1.264 GB, free: 10.56 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.00129/1.135, allocations: 0.5146 MB / 1.264 GB, free: 10 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.403e-05/1.135, allocations: 12.03 kB / 1.264 GB, free: 9.988 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005572/1.136, allocations: 43.69 kB / 1.264 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/1.137, allocations: 266.5 kB / 1.264 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/1.137, allocations: 135.4 kB / 1.264 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/1.137, allocations: 23.94 kB / 1.264 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007266/1.138, allocations: 298.8 kB / 1.265 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/1.138, allocations: 0 / 1.265 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/1.138, allocations: 8 kB / 1.265 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/1.138, allocations: 4 kB / 1.265 GB, free: 9.121 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005059/1.138, allocations: 164.6 kB / 1.265 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/1.14, allocations: 1.583 MB / 1.266 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/1.14, allocations: 169.1 kB / 1.267 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/1.141, allocations: 88.14 kB / 1.267 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.441e-05/1.141, allocations: 75.28 kB / 1.267 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.284e-05/1.141, allocations: 109.8 kB / 1.267 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.412e-06/1.141, allocations: 0 / 1.267 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001392/1.141, allocations: 49.39 kB / 1.267 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/1.141, allocations: 126.7 kB / 1.267 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/1.141, allocations: 314.5 kB / 1.267 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/1.142, allocations: 33.7 kB / 1.267 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/1.142, allocations: 183.2 kB / 1.268 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.824e-06/1.142, allocations: 4 kB / 1.268 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/1.142, allocations: 41.61 kB / 1.268 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.142, allocations: 330.8 kB / 1.268 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/1.142, allocations: 39.97 kB / 1.268 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000267/1.142, allocations: 161.1 kB / 1.268 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/1.143, allocations: 200.8 kB / 1.268 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.143, allocations: 4 kB / 1.268 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006753/1.144, allocations: 209.2 kB / 1.269 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/1.144, allocations: 15.92 kB / 1.269 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.144, allocations: 4 kB / 1.269 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/1.144, allocations: 8 kB / 1.269 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/1.144, allocations: 35.92 kB / 1.269 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/1.144, allocations: 11.98 kB / 1.269 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/1.144, allocations: 32.03 kB / 1.269 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/1.144, allocations: 16 kB / 1.269 GB, free: 4.867 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.0002081/1.145, allocations: 221 kB / 1.269 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/1.145, allocations: 128.7 kB / 1.269 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.4e-05/1.145, allocations: 121.8 kB / 1.269 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.741e-05/1.145, allocations: 184.2 kB / 1.269 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.029e-05/1.145, allocations: 176.3 kB / 1.269 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.876e-05/1.145, allocations: 184.2 kB / 1.27 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/1.145, allocations: 485.1 kB / 1.27 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.3e-05/1.146, allocations: 101 kB / 1.27 GB, free: 3.195 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.243e-05/1.146, allocations: 108.9 kB / 1.27 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.054e-05/1.146, allocations: 180.2 kB / 1.27 GB, free: 2.898 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.818e-05/1.146, allocations: 184.2 kB / 1.271 GB, free: 2.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.858e-05/1.146, allocations: 184.2 kB / 1.271 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-05/1.146, allocations: 184.3 kB / 1.271 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/1.146, allocations: 315.5 kB / 1.271 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/1.146, allocations: 206.2 kB / 1.271 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/1.146, allocations: 196.1 kB / 1.272 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001903/1.147, allocations: 105 kB / 1.272 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.62e-05/1.147, allocations: 184.2 kB / 1.272 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/1.147, allocations: 105 kB / 1.272 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003428/1.147, allocations: 217.9 kB / 1.272 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.31e-07/1.147, allocations: 0 / 1.272 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006257/1.148, allocations: 63.84 kB / 1.272 GB, free: 0.8984 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.0003815/1.148, allocations: 206.5 kB / 1.273 GB, free: 0.6875 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002984/1.149, allocations: 87.77 kB / 1.273 GB, free: 0.6016 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.149, allocations: 3.938 kB / 1.273 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/1.149, allocations: 1.25 kB / 1.273 GB, free: 0.5977 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007031/1.149, allocations: 484.2 kB / 1.273 GB, free: 120 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008669/1.15, allocations: 414.5 kB / 1.273 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/1.151, allocations: 0.7398 MB / 1.274 GB, free: 14.91 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.397e-05/1.151, allocations: 19.44 kB / 1.274 GB, free: 14.89 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/1.151, allocations: 0 / 1.274 GB, free: 14.89 MB / 1.014 GB Notification: Performance of Templates: time 0.007637/1.158, allocations: 2.848 MB / 1.277 GB, free: 12.05 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/jenkins1/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