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.001276/0.001276, allocations: 105.3 kB / 15.98 MB, free: 6.355 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.001189/0.001189, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.345/1.345, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.19/2.19, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 64.56 kB / 0.8127 GB, free: 32.46 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2767, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.8288/1.106, allocations: 168 MB / 1.114 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006687/1.112, allocations: 5.95 MB / 1.12 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004533/1.113, allocations: 8.75 kB / 1.12 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007043/1.113, allocations: 156 kB / 1.12 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003716/1.114, allocations: 85.61 kB / 1.12 GB, free: 5.398 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001513/1.115, allocations: 493.5 kB / 1.12 GB, free: 5.371 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005992/1.116, allocations: 418.7 kB / 1.121 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003006/1.116, allocations: 134.6 kB / 1.121 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003666/1.117, allocations: 182.8 kB / 1.121 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/1.117, allocations: 153.9 kB / 1.121 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/1.117, allocations: 21.03 kB / 1.121 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009669/1.118, allocations: 478 kB / 1.122 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/1.118, allocations: 69.56 kB / 1.122 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/1.118, allocations: 106 kB / 1.122 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005844/1.119, allocations: 319.9 kB / 1.122 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/1.119, allocations: 1.125 kB / 1.122 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.495e-06/1.119, allocations: 0 / 1.122 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.406e-05/1.119, allocations: 1.797 kB / 1.122 GB, free: 5.305 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.0009361/1.12, allocations: 0.5172 MB / 1.123 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.12, allocations: 13.91 kB / 1.123 GB, free: 20.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003003/1.12, allocations: 42.48 kB / 1.123 GB, free: 20.87 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/1.121, allocations: 250.3 kB / 1.123 GB, free: 20.66 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/1.121, allocations: 136.6 kB / 1.123 GB, free: 20.53 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/1.121, allocations: 21.28 kB / 1.123 GB, free: 20.53 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/1.121, allocations: 296.1 kB / 1.123 GB, free: 20.4 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/1.121, allocations: 1.594 kB / 1.123 GB, free: 20.4 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.491e-05/1.121, allocations: 9.688 kB / 1.123 GB, free: 20.4 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/1.121, allocations: 6.156 kB / 1.123 GB, free: 20.4 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003158/1.122, allocations: 165.8 kB / 1.124 GB, free: 20.39 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/1.123, allocations: 1.579 MB / 1.125 GB, free: 19.1 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.436e-05/1.123, allocations: 169.3 kB / 1.125 GB, free: 18.93 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.331e-05/1.123, allocations: 88.28 kB / 1.125 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/1.123, allocations: 76.5 kB / 1.125 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.803e-05/1.123, allocations: 110.4 kB / 1.126 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.123, allocations: 1.281 kB / 1.126 GB, free: 18.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.055e-05/1.123, allocations: 49.94 kB / 1.126 GB, free: 18.61 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/1.123, allocations: 128.2 kB / 1.126 GB, free: 18.47 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000364/1.124, allocations: 308 kB / 1.126 GB, free: 18.36 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/1.124, allocations: 27.08 kB / 1.126 GB, free: 18.33 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/1.124, allocations: 193.6 kB / 1.126 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.559e-06/1.124, allocations: 5.094 kB / 1.126 GB, free: 18.19 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.248e-05/1.124, allocations: 45.86 kB / 1.126 GB, free: 18.17 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.124, allocations: 332.5 kB / 1.127 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.476e-05/1.124, allocations: 37.98 kB / 1.127 GB, free: 17.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/1.124, allocations: 167.5 kB / 1.127 GB, free: 17.69 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/1.125, allocations: 194.8 kB / 1.127 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.125, allocations: 1.406 kB / 1.127 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004595/1.125, allocations: 219 kB / 1.127 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.125, allocations: 6.5 kB / 1.127 GB, free: 17.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.125, allocations: 9.344 kB / 1.127 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/1.125, allocations: 7.25 kB / 1.127 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/1.125, allocations: 36.98 kB / 1.127 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/1.125, allocations: 10.38 kB / 1.127 GB, free: 17.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/1.126, allocations: 37.47 kB / 1.127 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/1.126, allocations: 12.3 kB / 1.127 GB, free: 17.45 MB / 0.8731 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.0001406/1.126, allocations: 220.1 kB / 1.128 GB, free: 17.26 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.903e-05/1.126, allocations: 123.1 kB / 1.128 GB, free: 17.14 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.889e-05/1.126, allocations: 127.9 kB / 1.128 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-05/1.126, allocations: 180.8 kB / 1.128 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.704e-05/1.126, allocations: 184 kB / 1.128 GB, free: 16.67 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.295e-05/1.126, allocations: 180.7 kB / 1.128 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/1.126, allocations: 478.2 kB / 1.129 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-05/1.126, allocations: 104.5 kB / 1.129 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.835e-05/1.126, allocations: 108.9 kB / 1.129 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-05/1.127, allocations: 182.9 kB / 1.129 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.775e-05/1.127, allocations: 184.8 kB / 1.129 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.256e-05/1.127, allocations: 177 kB / 1.129 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-05/1.127, allocations: 182.6 kB / 1.13 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/1.127, allocations: 319.8 kB / 1.13 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/1.127, allocations: 212.4 kB / 1.13 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.344e-05/1.127, allocations: 188.3 kB / 1.13 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/1.127, allocations: 106.8 kB / 1.13 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/1.127, allocations: 180.8 kB / 1.131 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/1.127, allocations: 101.6 kB / 1.131 GB, free: 14 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002666/1.128, allocations: 222.5 kB / 1.131 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/1.128, allocations: 5.094 kB / 1.131 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004141/1.128, allocations: 54.91 kB / 1.131 GB, free: 13.91 MB / 0.8731 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.128, allocations: 209.8 kB / 1.131 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002224/1.129, allocations: 77.84 kB / 1.131 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.129, allocations: 1.25 kB / 1.131 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/1.129, allocations: 2.625 kB / 1.131 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/1.129, allocations: 487.1 kB / 1.132 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006244/1.13, allocations: 484.4 kB / 1.132 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/1.13, allocations: 0.7398 MB / 1.133 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.804e-05/1.13, allocations: 19.2 kB / 1.133 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.13, allocations: 0 / 1.133 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.005788/1.136, allocations: 2.828 MB / 1.136 GB, free: 11.94 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","/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