Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_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.007266/0.007266, allocations: 99.38 kB / 15.73 MB, free: 6.059 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.002142/0.002142, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.785/2.785, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.89 kB / 1.065 GB, free: 13 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3818, allocations: 159.1 MB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.113/1.495, allocations: 249.6 MB / 1.464 GB, free: 11.55 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02935/1.524, allocations: 22.32 MB / 1.486 GB, free: 5.16 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/1.527, allocations: 55.69 kB / 1.486 GB, free: 5.105 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00345/1.531, allocations: 0.9898 MB / 1.487 GB, free: 4.109 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005307/1.536, allocations: 1.52 MB / 1.489 GB, free: 2.582 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005932/1.542, allocations: 1.959 MB / 1.491 GB, free: 0.6289 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004872/1.547, allocations: 2.667 MB / 1.493 GB, free: 13.95 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/1.549, allocations: 1.025 MB / 1.494 GB, free: 12.89 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004008/1.553, allocations: 1.362 MB / 1.496 GB, free: 11.52 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/1.555, allocations: 0.9222 MB / 1.496 GB, free: 10.6 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002796/1.555, allocations: 108 kB / 1.497 GB, free: 10.49 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004301/1.56, allocations: 1.691 MB / 1.498 GB, free: 8.797 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0005421/1.56, allocations: 382.7 kB / 1.499 GB, free: 8.422 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.00115/1.561, allocations: 0.6376 MB / 1.499 GB, free: 7.781 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.004527/1.566, allocations: 2.289 MB / 1.501 GB, free: 5.484 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/1.566, allocations: 4 kB / 1.501 GB, free: 5.48 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.212e-06/1.566, allocations: 0 / 1.501 GB, free: 5.48 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.608e-05/1.566, allocations: 0 / 1.501 GB, free: 5.48 MB / 1.186 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.002224/1.568, allocations: 1.509 MB / 1.503 GB, free: 3.918 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.763e-05/1.568, allocations: 8.031 kB / 1.503 GB, free: 3.91 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/1.569, allocations: 231 kB / 1.503 GB, free: 3.684 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/1.571, allocations: 0.9241 MB / 1.504 GB, free: 2.715 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/1.571, allocations: 188.8 kB / 1.504 GB, free: 2.508 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/1.571, allocations: 92 kB / 1.504 GB, free: 2.418 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/1.573, allocations: 0.9284 MB / 1.505 GB, free: 1.453 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/1.573, allocations: 0 / 1.505 GB, free: 1.453 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.691e-05/1.573, allocations: 43.31 kB / 1.505 GB, free: 1.414 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.203e-05/1.573, allocations: 24 kB / 1.505 GB, free: 1.391 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/1.574, allocations: 0.6324 MB / 1.506 GB, free: 0.7617 MB / 1.186 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.004699/1.578, allocations: 4.431 MB / 1.51 GB, free: 11.94 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/1.579, allocations: 193.2 kB / 1.51 GB, free: 11.74 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/1.579, allocations: 136.8 kB / 1.511 GB, free: 11.61 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/1.58, allocations: 1.017 MB / 1.511 GB, free: 10.37 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/1.58, allocations: 34.56 kB / 1.512 GB, free: 10.32 MB / 1.201 GB Notification: Performance of pre-optimization done (n=24): time 2.605e-06/1.58, allocations: 0 / 1.512 GB, free: 10.32 MB / 1.201 GB Notification: Performance of matching and sorting (n=24): time 0.00123/1.581, allocations: 476.5 kB / 1.512 GB, free: 9.852 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.809e-05/1.582, allocations: 55.41 kB / 1.512 GB, free: 9.785 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/1.583, allocations: 1.118 MB / 1.513 GB, free: 8.652 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/1.583, allocations: 33.69 kB / 1.513 GB, free: 8.613 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/1.584, allocations: 0.5126 MB / 1.514 GB, free: 8.098 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 7.205e-05/1.584, allocations: 87.27 kB / 1.514 GB, free: 8.012 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001718/1.584, allocations: 102 kB / 1.514 GB, free: 7.906 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.584, allocations: 326 kB / 1.514 GB, free: 7.582 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/1.584, allocations: 128.8 kB / 1.514 GB, free: 7.457 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/1.585, allocations: 379.1 kB / 1.515 GB, free: 6.973 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/1.585, allocations: 472.4 kB / 1.515 GB, free: 6.426 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.471e-06/1.585, allocations: 4 kB / 1.515 GB, free: 6.422 MB / 1.201 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000883/1.586, allocations: 0.5393 MB / 1.516 GB, free: 5.875 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.586, allocations: 8.688 kB / 1.516 GB, free: 5.867 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/1.586, allocations: 11.94 kB / 1.516 GB, free: 5.855 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/1.586, allocations: 11.94 kB / 1.516 GB, free: 5.844 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003685/1.586, allocations: 87.89 kB / 1.516 GB, free: 5.758 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/1.586, allocations: 15.94 kB / 1.516 GB, free: 5.742 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006644/1.587, allocations: 96.39 kB / 1.516 GB, free: 5.648 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/1.587, allocations: 31.98 kB / 1.516 GB, free: 5.617 MB / 1.201 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.0003997/1.588, allocations: 277.6 kB / 1.516 GB, free: 5.336 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/1.588, allocations: 119.5 kB / 1.516 GB, free: 5.219 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000704/1.588, allocations: 428.8 kB / 1.517 GB, free: 4.793 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.588, allocations: 7.984 kB / 1.517 GB, free: 4.785 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.588, allocations: 4 kB / 1.517 GB, free: 4.781 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.588, allocations: 3.984 kB / 1.517 GB, free: 4.777 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/1.591, allocations: 1.554 MB / 1.518 GB, free: 3.113 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/1.591, allocations: 4.062 kB / 1.518 GB, free: 3.109 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/1.591, allocations: 43.92 kB / 1.518 GB, free: 3.066 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/1.591, allocations: 8.5 kB / 1.518 GB, free: 3.059 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/1.591, allocations: 16 kB / 1.518 GB, free: 3.043 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/1.591, allocations: 7.984 kB / 1.518 GB, free: 3.035 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.591, allocations: 11.94 kB / 1.518 GB, free: 3.023 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006151/1.591, allocations: 0.571 MB / 1.519 GB, free: 2.383 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/1.592, allocations: 240.2 kB / 1.519 GB, free: 2.129 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/1.592, allocations: 11.98 kB / 1.519 GB, free: 2.117 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004005/1.592, allocations: 15.98 kB / 1.519 GB, free: 2.102 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/1.592, allocations: 31.86 kB / 1.519 GB, free: 2.07 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/1.592, allocations: 15.98 kB / 1.519 GB, free: 2.055 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0009403/1.593, allocations: 0.7783 MB / 1.52 GB, free: 1.27 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.593, allocations: 0 / 1.52 GB, free: 1.27 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009411/1.594, allocations: 287.4 kB / 1.52 GB, free: 0.9883 MB / 1.201 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.0007436/1.595, allocations: 341.3 kB / 1.521 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0006215/1.595, allocations: 338.2 kB / 1.521 GB, free: 336 kB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.595, allocations: 4 kB / 1.521 GB, free: 332 kB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/1.596, allocations: 137.2 kB / 1.521 GB, free: 196 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.598, allocations: 0.5106 MB / 1.521 GB, free: 15.69 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/1.6, allocations: 1.599 MB / 1.523 GB, free: 14 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006406/1.601, allocations: 1.063 MB / 1.524 GB, free: 12.91 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0006266/1.601, allocations: 193.6 kB / 1.524 GB, free: 12.73 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001664/1.602, allocations: 71.42 kB / 1.524 GB, free: 12.66 MB / 1.217 GB Notification: Performance of SimCode: time 8.02e-07/1.602, allocations: 4 kB / 1.524 GB, free: 12.65 MB / 1.217 GB Notification: Performance of Templates: time 0.03366/1.635, allocations: 18.64 MB / 1.543 GB, free: 10.24 MB / 1.232 GB make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches