Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.AirToOutletFlowReversal,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.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,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.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001577, allocations: 100.1 kB / 15.88 MB, free: 12 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.001953/0.001953, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.47/1.47, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.774/2.774, allocations: 461.8 MB / 0.7348 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 64.86 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4093, allocations: 157.4 MB / 1.053 GB, free: 8.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.9712/1.381, allocations: 246.7 MB / 1.294 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02504/1.406, allocations: 22.28 MB / 1.315 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002636/1.408, allocations: 50.19 kB / 1.315 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002964/1.411, allocations: 0.7868 MB / 1.316 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004513/1.416, allocations: 1.388 MB / 1.318 GB, free: 1.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005245/1.421, allocations: 1.77 MB / 1.319 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005184/1.426, allocations: 3.524 MB / 1.323 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/1.428, allocations: 1.163 MB / 1.324 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/1.431, allocations: 1.191 MB / 1.325 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/1.433, allocations: 0.9355 MB / 1.326 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001478/1.433, allocations: 66.44 kB / 1.326 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004304/1.437, allocations: 1.904 MB / 1.328 GB, free: 0.8516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004196/1.438, allocations: 340.2 kB / 1.328 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008653/1.439, allocations: 0.5946 MB / 1.329 GB, free: 0.625 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002245/1.441, allocations: 1.717 MB / 1.33 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/1.441, allocations: 0 / 1.33 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.022e-06/1.441, allocations: 0 / 1.33 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.386e-05/1.441, allocations: 2.875 kB / 1.33 GB, free: 0.5 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002166/1.443, allocations: 1.47 MB / 1.332 GB, free: 15.69 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.443, allocations: 12.19 kB / 1.332 GB, free: 15.69 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001127/1.444, allocations: 233.7 kB / 1.332 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001196/1.445, allocations: 0.8457 MB / 1.333 GB, free: 15.29 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001764/1.446, allocations: 185.4 kB / 1.333 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/1.446, allocations: 94 kB / 1.333 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/1.447, allocations: 0.9304 MB / 1.334 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/1.447, allocations: 2.406 kB / 1.334 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.328e-05/1.447, allocations: 42.09 kB / 1.334 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/1.447, allocations: 22.09 kB / 1.334 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009897/1.448, allocations: 0.6285 MB / 1.335 GB, free: 15.01 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004586/1.453, allocations: 4.445 MB / 1.339 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/1.453, allocations: 187.2 kB / 1.339 GB, free: 12.22 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/1.454, allocations: 148.7 kB / 1.339 GB, free: 12.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001099/1.455, allocations: 1.028 MB / 1.34 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/1.455, allocations: 35.5 kB / 1.341 GB, free: 11.04 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 2.495e-06/1.455, allocations: 4 kB / 1.341 GB, free: 11.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001109/1.456, allocations: 467.4 kB / 1.341 GB, free: 10.94 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.513e-05/1.456, allocations: 61.47 kB / 1.341 GB, free: 10.88 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001299/1.457, allocations: 1.109 MB / 1.342 GB, free: 10.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/1.457, allocations: 31.83 kB / 1.342 GB, free: 10.69 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004618/1.458, allocations: 0.5092 MB / 1.343 GB, free: 10.5 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/1.458, allocations: 83.67 kB / 1.343 GB, free: 10.45 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/1.458, allocations: 99.53 kB / 1.343 GB, free: 10.43 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.458, allocations: 321.7 kB / 1.343 GB, free: 10.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/1.458, allocations: 127.2 kB / 1.343 GB, free: 10.12 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004774/1.459, allocations: 390.3 kB / 1.344 GB, free: 9.828 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005838/1.459, allocations: 468.1 kB / 1.344 GB, free: 9.594 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/1.459, allocations: 2.531 kB / 1.344 GB, free: 9.594 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008743/1.46, allocations: 0.541 MB / 1.345 GB, free: 9.504 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/1.46, allocations: 7.062 kB / 1.345 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.46, allocations: 9 kB / 1.345 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/1.46, allocations: 10.03 kB / 1.345 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/1.461, allocations: 88.31 kB / 1.345 GB, free: 9.504 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.856e-05/1.461, allocations: 14.53 kB / 1.345 GB, free: 9.5 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008624/1.462, allocations: 128.4 kB / 1.345 GB, free: 9.445 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/1.462, allocations: 28.97 kB / 1.345 GB, free: 9.445 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0003783/1.462, allocations: 285.9 kB / 1.345 GB, free: 9.324 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/1.462, allocations: 102.7 kB / 1.345 GB, free: 9.27 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006804/1.463, allocations: 430.9 kB / 1.346 GB, free: 9.191 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.463, allocations: 2.094 kB / 1.346 GB, free: 9.191 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.463, allocations: 6.719 kB / 1.346 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.463, allocations: 3.281 kB / 1.346 GB, free: 9.188 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/1.465, allocations: 1.545 MB / 1.347 GB, free: 8.723 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/1.465, allocations: 5.5 kB / 1.347 GB, free: 8.723 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/1.465, allocations: 39.59 kB / 1.347 GB, free: 8.723 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/1.465, allocations: 4.688 kB / 1.347 GB, free: 8.723 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/1.465, allocations: 13.34 kB / 1.347 GB, free: 8.723 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.928e-06/1.465, allocations: 15.94 kB / 1.347 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.465, allocations: 8.969 kB / 1.347 GB, free: 8.715 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/1.466, allocations: 0.572 MB / 1.348 GB, free: 8.375 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/1.467, allocations: 238.1 kB / 1.348 GB, free: 8.223 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/1.467, allocations: 13.73 kB / 1.348 GB, free: 8.219 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004667/1.467, allocations: 28.44 kB / 1.348 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/1.467, allocations: 28.81 kB / 1.348 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/1.467, allocations: 15.53 kB / 1.348 GB, free: 8.211 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001003/1.468, allocations: 0.7843 MB / 1.349 GB, free: 8.098 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.468, allocations: 0 / 1.349 GB, free: 8.098 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009865/1.469, allocations: 289.1 kB / 1.349 GB, free: 8.059 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007141/1.47, allocations: 326.3 kB / 1.349 GB, free: 7.914 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006241/1.471, allocations: 337.7 kB / 1.35 GB, free: 7.902 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/1.471, allocations: 3.125 kB / 1.35 GB, free: 7.902 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/1.471, allocations: 147.4 kB / 1.35 GB, free: 7.898 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/1.473, allocations: 487.7 kB / 1.35 GB, free: 7.859 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/1.476, allocations: 1.951 MB / 1.352 GB, free: 6.715 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/1.476, allocations: 1.06 MB / 1.353 GB, free: 6.004 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002066/1.477, allocations: 73.27 kB / 1.353 GB, free: 5.992 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/1.477, allocations: 0 / 1.353 GB, free: 5.992 MB / 1.014 GB Notification: Performance of Templates: time 0.02672/1.503, allocations: 17.1 MB / 1.37 GB, free: 15.97 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches