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.001549/0.00155, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001764, allocations: 197 kB / 16.53 MB, free: 6.664 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.476/2.476, allocations: 390.2 MB / 0.6647 GB, free: 420 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.89 kB / 0.8125 GB, free: 14.46 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8767/0.878, allocations: 140.4 MB / 0.9496 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2119/1.09, allocations: 170.3 MB / 1.116 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.006274/1.096, allocations: 5.995 MB / 1.122 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002963/1.097, allocations: 8 kB / 1.122 GB, free: 0.8945 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0006172/1.097, allocations: 178.7 kB / 1.122 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003138/1.098, allocations: 99.31 kB / 1.122 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001254/1.099, allocations: 0.5177 MB / 1.123 GB, free: 104 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0004498/1.099, allocations: 418.6 kB / 1.123 GB, free: 15.69 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/1.1, allocations: 135.6 kB / 1.123 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/1.1, allocations: 195.2 kB / 1.123 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/1.1, allocations: 147.4 kB / 1.123 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.254e-05/1.1, allocations: 16 kB / 1.123 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007751/1.101, allocations: 458.8 kB / 1.124 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.171e-05/1.101, allocations: 63.81 kB / 1.124 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000103/1.101, allocations: 107.4 kB / 1.124 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005883/1.102, allocations: 446.7 kB / 1.124 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.102, allocations: 0 / 1.124 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.653e-06/1.102, allocations: 0 / 1.124 GB, free: 14.15 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.805e-06/1.102, allocations: 0 / 1.124 GB, free: 14.15 MB / 0.8887 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.0006535/1.102, allocations: 0.5185 MB / 1.125 GB, free: 13.58 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.314e-05/1.103, allocations: 8.031 kB / 1.125 GB, free: 13.57 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/1.103, allocations: 43.7 kB / 1.125 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/1.103, allocations: 258.6 kB / 1.125 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/1.103, allocations: 127.4 kB / 1.125 GB, free: 13.09 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/1.103, allocations: 24 kB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000444/1.104, allocations: 306.6 kB / 1.126 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/1.104, allocations: 0 / 1.126 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/1.104, allocations: 12 kB / 1.126 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/1.104, allocations: 8 kB / 1.126 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/1.104, allocations: 152.6 kB / 1.126 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001399/1.106, allocations: 1.591 MB / 1.127 GB, free: 10.88 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 9.344e-05/1.106, allocations: 169.1 kB / 1.128 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.381e-05/1.106, allocations: 80.14 kB / 1.128 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/1.106, allocations: 79.27 kB / 1.128 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.996e-05/1.106, allocations: 109.8 kB / 1.128 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/1.106, allocations: 4 kB / 1.128 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of matching and sorting (n=0): time 0.0001074/1.106, allocations: 49.36 kB / 1.128 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/1.106, allocations: 130.6 kB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003554/1.106, allocations: 310.6 kB / 1.128 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/1.106, allocations: 25.7 kB / 1.128 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/1.107, allocations: 191.2 kB / 1.129 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-06/1.107, allocations: 0 / 1.129 GB, free: 9.691 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/1.107, allocations: 53.61 kB / 1.129 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001062/1.107, allocations: 326.8 kB / 1.129 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.924e-05/1.107, allocations: 35.97 kB / 1.129 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/1.107, allocations: 166.8 kB / 1.129 GB, free: 9.047 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/1.107, allocations: 200.8 kB / 1.129 GB, free: 8.789 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.107, allocations: 3.938 kB / 1.129 GB, free: 8.785 MB / 0.8887 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000381/1.108, allocations: 205.7 kB / 1.129 GB, free: 8.578 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/1.108, allocations: 15.94 kB / 1.129 GB, free: 8.562 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/1.108, allocations: 4 kB / 1.129 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.108, allocations: 4 kB / 1.129 GB, free: 8.555 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/1.108, allocations: 47.91 kB / 1.13 GB, free: 8.508 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.108, allocations: 7.938 kB / 1.13 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/1.108, allocations: 31.59 kB / 1.13 GB, free: 8.469 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/1.108, allocations: 12 kB / 1.13 GB, free: 8.457 MB / 0.8887 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.0001352/1.108, allocations: 224.9 kB / 1.13 GB, free: 8.227 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.073e-05/1.108, allocations: 124.7 kB / 1.13 GB, free: 8.098 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/1.108, allocations: 125.8 kB / 1.13 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.73e-05/1.108, allocations: 180.3 kB / 1.13 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.52e-05/1.109, allocations: 180.2 kB / 1.13 GB, free: 7.605 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-05/1.109, allocations: 180.3 kB / 1.131 GB, free: 7.422 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/1.109, allocations: 485.1 kB / 1.131 GB, free: 6.891 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.886e-05/1.109, allocations: 108.9 kB / 1.131 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/1.109, allocations: 101 kB / 1.131 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.03e-05/1.109, allocations: 184.1 kB / 1.131 GB, free: 6.484 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/1.109, allocations: 180.3 kB / 1.132 GB, free: 6.301 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.383e-05/1.109, allocations: 180.3 kB / 1.132 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-05/1.109, allocations: 188.2 kB / 1.132 GB, free: 5.926 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/1.109, allocations: 315.6 kB / 1.132 GB, free: 5.594 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/1.11, allocations: 213.8 kB / 1.132 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.009e-05/1.11, allocations: 180.2 kB / 1.133 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/1.11, allocations: 113.2 kB / 1.133 GB, free: 5.059 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.919e-05/1.11, allocations: 180.3 kB / 1.133 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/1.11, allocations: 108.9 kB / 1.133 GB, free: 4.762 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002244/1.11, allocations: 217.9 kB / 1.133 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.31e-07/1.11, allocations: 0 / 1.133 GB, free: 4.551 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003513/1.11, allocations: 51.94 kB / 1.133 GB, free: 4.5 MB / 0.8887 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.0003931/1.111, allocations: 214.5 kB / 1.133 GB, free: 4.277 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0002024/1.111, allocations: 88.33 kB / 1.134 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.111, allocations: 0 / 1.134 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/1.111, allocations: 0 / 1.134 GB, free: 4.191 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/1.112, allocations: 483.1 kB / 1.134 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/1.112, allocations: 404.8 kB / 1.134 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/1.112, allocations: 0.7398 MB / 1.135 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001347/1.113, allocations: 37.94 kB / 1.135 GB, free: 2.492 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/1.113, allocations: 15.44 kB / 1.135 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of SimCode: time 3.01e-07/1.113, allocations: 0 / 1.135 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of Templates: time 0.005144/1.118, allocations: 1.815 MB / 1.137 GB, free: 0.6719 MB / 0.8887 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