Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001301/0.001301, allocations: 108.3 kB / 15.99 MB, free: 6.371 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.001308/0.001308, allocations: 194.9 kB / 16.91 MB, free: 6.199 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.442/1.442, 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 10.1.1-maint.10.0.x/package.mo): time 2.652/2.652, allocations: 437.1 MB / 0.7107 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 67.03 kB / 0.8694 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3892/0.3912, allocations: 151.6 MB / 1.017 GB, free: 10.93 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.9007/1.292, allocations: 168 MB / 1.182 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008122/1.3, allocations: 5.947 MB / 1.187 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000455/1.301, allocations: 9.438 kB / 1.187 GB, free: 2.938 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006768/1.301, allocations: 153.1 kB / 1.188 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003785/1.302, allocations: 86.62 kB / 1.188 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001587/1.303, allocations: 491.4 kB / 1.188 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0006418/1.304, allocations: 423.5 kB / 1.189 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003176/1.304, allocations: 135.5 kB / 1.189 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003766/1.305, allocations: 187.2 kB / 1.189 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/1.305, allocations: 151.2 kB / 1.189 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/1.305, allocations: 21.97 kB / 1.189 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/1.306, allocations: 467 kB / 1.189 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002411/1.306, allocations: 73.22 kB / 1.189 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00015/1.306, allocations: 107.5 kB / 1.19 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005536/1.307, allocations: 318.2 kB / 1.19 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/1.307, allocations: 0 / 1.19 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.192e-06/1.307, allocations: 0 / 1.19 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.394e-06/1.307, allocations: 0 / 1.19 GB, free: 1.305 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.0008339/1.308, allocations: 0.5207 MB / 1.19 GB, free: 0.8086 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.308, allocations: 14.23 kB / 1.19 GB, free: 0.8047 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/1.308, allocations: 46.42 kB / 1.19 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/1.309, allocations: 259.1 kB / 1.191 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/1.309, allocations: 132.1 kB / 1.191 GB, free: 396 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.898e-05/1.309, allocations: 18.75 kB / 1.191 GB, free: 392 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000539/1.309, allocations: 294.7 kB / 1.191 GB, free: 152 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/1.309, allocations: 5.078 kB / 1.191 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/1.309, allocations: 10.72 kB / 1.191 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/1.309, allocations: 7.281 kB / 1.191 GB, free: 140 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/1.31, allocations: 165.8 kB / 1.191 GB, free: 56 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001632/1.311, allocations: 1.579 MB / 1.193 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.314e-05/1.312, allocations: 169.1 kB / 1.193 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/1.312, allocations: 84.14 kB / 1.193 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/1.312, allocations: 75.28 kB / 1.193 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.959e-05/1.312, allocations: 116.5 kB / 1.193 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.312, allocations: 0 / 1.193 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0001237/1.312, allocations: 49.17 kB / 1.193 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/1.312, allocations: 126.7 kB / 1.193 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003676/1.312, allocations: 312.5 kB / 1.194 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/1.312, allocations: 29.69 kB / 1.194 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/1.312, allocations: 194.9 kB / 1.194 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/1.312, allocations: 0 / 1.194 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/1.313, allocations: 57.5 kB / 1.194 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.313, allocations: 327.9 kB / 1.194 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/1.313, allocations: 40.88 kB / 1.194 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/1.313, allocations: 163.8 kB / 1.195 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/1.313, allocations: 196.6 kB / 1.195 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.313, allocations: 2.656 kB / 1.195 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004169/1.314, allocations: 211.8 kB / 1.195 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/1.314, allocations: 5.875 kB / 1.195 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/1.314, allocations: 9.312 kB / 1.195 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.314, allocations: 5.344 kB / 1.195 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/1.314, allocations: 37.67 kB / 1.195 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/1.314, allocations: 9.734 kB / 1.195 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/1.314, allocations: 41.78 kB / 1.195 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/1.314, allocations: 8.062 kB / 1.195 GB, free: 12.51 MB / 0.9044 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.000171/1.314, allocations: 220.1 kB / 1.195 GB, free: 12.3 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/1.314, allocations: 129.4 kB / 1.195 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.687e-05/1.315, allocations: 126 kB / 1.195 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.63e-05/1.315, allocations: 180.2 kB / 1.196 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.602e-05/1.315, allocations: 182.1 kB / 1.196 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.501e-05/1.315, allocations: 176.3 kB / 1.196 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00037/1.315, allocations: 481.7 kB / 1.196 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.318e-05/1.315, allocations: 112.9 kB / 1.197 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/1.315, allocations: 107.5 kB / 1.197 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-05/1.315, allocations: 180.3 kB / 1.197 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-05/1.315, allocations: 183 kB / 1.197 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.527e-05/1.316, allocations: 180.2 kB / 1.197 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.101e-05/1.316, allocations: 176.3 kB / 1.197 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/1.316, allocations: 324 kB / 1.198 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/1.316, allocations: 209.9 kB / 1.198 GB, free: 9.508 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/1.316, allocations: 184.1 kB / 1.198 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/1.316, allocations: 103.6 kB / 1.198 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.7e-05/1.316, allocations: 192.2 kB / 1.198 GB, free: 9.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/1.316, allocations: 101 kB / 1.198 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.000242/1.317, allocations: 218.9 kB / 1.199 GB, free: 8.773 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.317, allocations: 4 kB / 1.199 GB, free: 8.77 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003737/1.317, allocations: 50.44 kB / 1.199 GB, free: 8.762 MB / 0.9044 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.0003576/1.317, allocations: 213 kB / 1.199 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002137/1.318, allocations: 79.98 kB / 1.199 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/1.318, allocations: 1.25 kB / 1.199 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/1.318, allocations: 6.5 kB / 1.199 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000577/1.318, allocations: 487.7 kB / 1.199 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006634/1.319, allocations: 481 kB / 1.2 GB, free: 7.668 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/1.319, allocations: 0.7369 MB / 1.201 GB, free: 6.941 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/1.319, allocations: 18.81 kB / 1.201 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/1.319, allocations: 0 / 1.201 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of Templates: time 0.00599/1.325, allocations: 2.826 MB / 1.203 GB, free: 5.465 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches