Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001849/0.001849, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.002123/0.002123, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.49/1.49, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.612/2.612, allocations: 437.1 MB / 0.711 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 59.62 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3933, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.047/1.44, allocations: 249 MB / 1.261 GB, free: 344 kB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03074/1.471, allocations: 22.27 MB / 1.283 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003051/1.474, allocations: 55.69 kB / 1.283 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003385/1.477, allocations: 0.9781 MB / 1.284 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005364/1.483, allocations: 1.466 MB / 1.285 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005928/1.489, allocations: 1.927 MB / 1.287 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004819/1.494, allocations: 2.691 MB / 1.29 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002128/1.496, allocations: 1.314 MB / 1.291 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0033/1.499, allocations: 1.339 MB / 1.292 GB, free: 180 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/1.501, allocations: 0.9144 MB / 1.293 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001812/1.501, allocations: 108 kB / 1.293 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00411/1.505, allocations: 1.672 MB / 1.295 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004751/1.505, allocations: 374.9 kB / 1.295 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008591/1.506, allocations: 0.6415 MB / 1.296 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003861/1.51, allocations: 2.228 MB / 1.298 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/1.51, allocations: 4 kB / 1.298 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/1.51, allocations: 0 / 1.298 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.634e-05/1.51, allocations: 0 / 1.298 GB, free: 10.23 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.002297/1.513, allocations: 1.471 MB / 1.3 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/1.513, allocations: 8.922 kB / 1.3 GB, free: 8.695 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/1.514, allocations: 238.3 kB / 1.3 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/1.515, allocations: 0.8415 MB / 1.301 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002132/1.515, allocations: 184.8 kB / 1.301 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/1.515, allocations: 92 kB / 1.301 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/1.517, allocations: 0.9362 MB / 1.302 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/1.517, allocations: 0 / 1.302 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/1.517, allocations: 39.94 kB / 1.302 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/1.517, allocations: 24 kB / 1.302 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/1.518, allocations: 0.6324 MB / 1.303 GB, free: 5.617 MB / 0.9981 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.005242/1.524, allocations: 4.462 MB / 1.307 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004058/1.524, allocations: 187.3 kB / 1.307 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/1.524, allocations: 140.9 kB / 1.307 GB, free: 436 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/1.526, allocations: 1.025 MB / 1.308 GB, free: 15.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.163e-05/1.526, allocations: 42.36 kB / 1.308 GB, free: 15.13 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 4.508e-06/1.526, allocations: 3.984 kB / 1.308 GB, free: 15.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001177/1.527, allocations: 473.8 kB / 1.309 GB, free: 14.66 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/1.527, allocations: 59.34 kB / 1.309 GB, free: 14.59 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/1.528, allocations: 1.11 MB / 1.31 GB, free: 13.46 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/1.528, allocations: 29.7 kB / 1.31 GB, free: 13.43 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004767/1.529, allocations: 0.504 MB / 1.31 GB, free: 12.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.277e-05/1.529, allocations: 86.83 kB / 1.31 GB, free: 12.83 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/1.529, allocations: 101.9 kB / 1.311 GB, free: 12.73 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000162/1.529, allocations: 322 kB / 1.311 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000243/1.53, allocations: 132.8 kB / 1.311 GB, free: 12.28 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005083/1.53, allocations: 379.1 kB / 1.311 GB, free: 11.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006411/1.531, allocations: 467.6 kB / 1.312 GB, free: 11.25 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.531, allocations: 8 kB / 1.312 GB, free: 11.25 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009573/1.532, allocations: 0.5395 MB / 1.312 GB, free: 10.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/1.532, allocations: 8 kB / 1.312 GB, free: 10.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.532, allocations: 7.938 kB / 1.312 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/1.532, allocations: 8 kB / 1.312 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/1.532, allocations: 91.83 kB / 1.312 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/1.532, allocations: 15.94 kB / 1.312 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006418/1.533, allocations: 91.03 kB / 1.313 GB, free: 10.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.337e-05/1.533, allocations: 24 kB / 1.313 GB, free: 10.46 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.0003929/1.533, allocations: 285.7 kB / 1.313 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/1.533, allocations: 110.7 kB / 1.313 GB, free: 10.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007598/1.534, allocations: 432.4 kB / 1.313 GB, free: 9.633 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.534, allocations: 4 kB / 1.313 GB, free: 9.629 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.534, allocations: 4 kB / 1.313 GB, free: 9.625 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.534, allocations: 4 kB / 1.313 GB, free: 9.621 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/1.537, allocations: 1.548 MB / 1.315 GB, free: 7.965 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.537, allocations: 7.938 kB / 1.315 GB, free: 7.957 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/1.537, allocations: 39.92 kB / 1.315 GB, free: 7.918 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/1.537, allocations: 7.938 kB / 1.315 GB, free: 7.91 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/1.537, allocations: 12 kB / 1.315 GB, free: 7.898 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/1.537, allocations: 4 kB / 1.315 GB, free: 7.895 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/1.537, allocations: 15.88 kB / 1.315 GB, free: 7.879 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007115/1.538, allocations: 0.5726 MB / 1.316 GB, free: 7.238 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/1.538, allocations: 235.6 kB / 1.316 GB, free: 6.988 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/1.538, allocations: 16 kB / 1.316 GB, free: 6.973 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/1.538, allocations: 15.98 kB / 1.316 GB, free: 6.957 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.587e-05/1.539, allocations: 31.84 kB / 1.316 GB, free: 6.926 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/1.539, allocations: 12 kB / 1.316 GB, free: 6.914 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001044/1.54, allocations: 0.7861 MB / 1.317 GB, free: 6.121 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.54, allocations: 0 / 1.317 GB, free: 6.121 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008971/1.541, allocations: 275.6 kB / 1.317 GB, free: 5.852 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.0007493/1.541, allocations: 332.4 kB / 1.317 GB, free: 5.531 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006649/1.542, allocations: 355.2 kB / 1.318 GB, free: 5.184 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.542, allocations: 4 kB / 1.318 GB, free: 5.18 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/1.542, allocations: 138.1 kB / 1.318 GB, free: 5.047 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/1.545, allocations: 0.5187 MB / 1.318 GB, free: 4.543 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002566/1.547, allocations: 1.635 MB / 1.32 GB, free: 2.812 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007572/1.548, allocations: 1.055 MB / 1.321 GB, free: 1.73 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/1.548, allocations: 79.42 kB / 1.321 GB, free: 1.652 MB / 1.014 GB Notification: Performance of SimCode: time 2.315e-06/1.548, allocations: 4 kB / 1.321 GB, free: 1.648 MB / 1.014 GB Notification: Performance of Templates: time 0.03329/1.581, allocations: 17.11 MB / 1.338 GB, free: 0.6875 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches