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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001237/0.001237, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001184/0.001185, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.34/1.34, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.651/2.651, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 68.12 kB / 0.9245 GB, free: 4 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.807, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.308/1.115, allocations: 249 MB / 1.326 GB, free: 5.164 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.03035/1.145, allocations: 22.28 MB / 1.348 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/1.147, allocations: 51.69 kB / 1.348 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003153/1.151, allocations: 0.982 MB / 1.349 GB, free: 13.78 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004623/1.155, allocations: 1.457 MB / 1.35 GB, free: 12.32 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005271/1.161, allocations: 1.925 MB / 1.352 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.004379/1.165, allocations: 2.671 MB / 1.355 GB, free: 7.715 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00225/1.167, allocations: 1.324 MB / 1.356 GB, free: 6.355 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003846/1.171, allocations: 1.549 MB / 1.358 GB, free: 4.801 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/1.173, allocations: 0.9066 MB / 1.358 GB, free: 3.891 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/1.173, allocations: 108 kB / 1.359 GB, free: 3.785 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003606/1.177, allocations: 1.668 MB / 1.36 GB, free: 2.113 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005078/1.177, allocations: 378.9 kB / 1.361 GB, free: 1.742 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001005/1.178, allocations: 0.6338 MB / 1.361 GB, free: 1.105 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.004195/1.182, allocations: 2.232 MB / 1.363 GB, free: 14.87 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.182, allocations: 3.938 kB / 1.363 GB, free: 14.86 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.914e-06/1.182, allocations: 3.938 kB / 1.363 GB, free: 14.86 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.379e-05/1.182, allocations: 0 / 1.363 GB, free: 14.86 MB / 1.092 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.002338/1.185, allocations: 1.464 MB / 1.365 GB, free: 13.34 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.185, allocations: 15.97 kB / 1.365 GB, free: 13.32 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/1.186, allocations: 226.4 kB / 1.365 GB, free: 13.1 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/1.187, allocations: 0.8492 MB / 1.366 GB, free: 12.21 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/1.188, allocations: 188.8 kB / 1.366 GB, free: 12 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/1.188, allocations: 91.94 kB / 1.366 GB, free: 11.91 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/1.189, allocations: 0.9285 MB / 1.367 GB, free: 10.95 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/1.189, allocations: 3.938 kB / 1.367 GB, free: 10.95 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/1.189, allocations: 36 kB / 1.367 GB, free: 10.91 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/1.189, allocations: 20 kB / 1.367 GB, free: 10.89 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001205/1.191, allocations: 0.6324 MB / 1.368 GB, free: 10.25 MB / 1.092 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.005298/1.196, allocations: 4.459 MB / 1.372 GB, free: 5.402 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004437/1.196, allocations: 190.5 kB / 1.372 GB, free: 5.207 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000211/1.197, allocations: 144.9 kB / 1.372 GB, free: 5.062 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.198, allocations: 1.025 MB / 1.373 GB, free: 3.816 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/1.198, allocations: 38.56 kB / 1.373 GB, free: 3.77 MB / 1.092 GB Notification: Performance of pre-optimization done (n=24): time 1.964e-06/1.198, allocations: 0 / 1.373 GB, free: 3.77 MB / 1.092 GB Notification: Performance of matching and sorting (n=24): time 0.001165/1.199, allocations: 466.1 kB / 1.374 GB, free: 3.309 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/1.199, allocations: 55.41 kB / 1.374 GB, free: 3.242 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/1.201, allocations: 1.106 MB / 1.375 GB, free: 2.121 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.988e-05/1.201, allocations: 37.7 kB / 1.375 GB, free: 2.078 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/1.201, allocations: 0.5079 MB / 1.376 GB, free: 1.566 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 8.594e-05/1.201, allocations: 90.73 kB / 1.376 GB, free: 1.477 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/1.201, allocations: 94.03 kB / 1.376 GB, free: 1.379 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001462/1.202, allocations: 318 kB / 1.376 GB, free: 1.062 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/1.202, allocations: 132.7 kB / 1.376 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/1.202, allocations: 387.2 kB / 1.376 GB, free: 456 kB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007042/1.203, allocations: 471.5 kB / 1.377 GB, free: 15.9 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.203, allocations: 7.938 kB / 1.377 GB, free: 15.89 MB / 1.107 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009645/1.204, allocations: 0.5349 MB / 1.377 GB, free: 15.35 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.204, allocations: 14.75 kB / 1.377 GB, free: 15.34 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.204, allocations: 8.688 kB / 1.377 GB, free: 15.33 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/1.204, allocations: 8.281 kB / 1.377 GB, free: 15.32 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/1.204, allocations: 91.84 kB / 1.378 GB, free: 15.23 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/1.204, allocations: 15.92 kB / 1.378 GB, free: 15.21 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/1.205, allocations: 98.94 kB / 1.378 GB, free: 15.12 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/1.205, allocations: 23.94 kB / 1.378 GB, free: 15.09 MB / 1.107 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.0004093/1.206, allocations: 281.7 kB / 1.378 GB, free: 14.81 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/1.206, allocations: 106.7 kB / 1.378 GB, free: 14.7 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007734/1.207, allocations: 428 kB / 1.378 GB, free: 14.27 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/1.207, allocations: 4 kB / 1.378 GB, free: 14.27 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.207, allocations: 3.938 kB / 1.378 GB, free: 14.27 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.207, allocations: 0 / 1.378 GB, free: 14.27 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/1.209, allocations: 1.55 MB / 1.38 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.209, allocations: 4 kB / 1.38 GB, free: 12.6 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/1.209, allocations: 51.84 kB / 1.38 GB, free: 12.55 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/1.209, allocations: 8.562 kB / 1.38 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/1.209, allocations: 8 kB / 1.38 GB, free: 12.54 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.678e-06/1.209, allocations: 15.94 kB / 1.38 GB, free: 12.52 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.126e-06/1.209, allocations: 4 kB / 1.38 GB, free: 12.52 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/1.21, allocations: 0.5714 MB / 1.381 GB, free: 11.88 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003625/1.21, allocations: 239.7 kB / 1.381 GB, free: 11.62 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/1.21, allocations: 12 kB / 1.381 GB, free: 11.61 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/1.211, allocations: 15.98 kB / 1.381 GB, free: 11.59 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/1.211, allocations: 35.84 kB / 1.381 GB, free: 11.56 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/1.211, allocations: 8 kB / 1.381 GB, free: 11.55 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001061/1.212, allocations: 0.7822 MB / 1.382 GB, free: 10.76 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.212, allocations: 0 / 1.382 GB, free: 10.76 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0009351/1.213, allocations: 283.5 kB / 1.382 GB, free: 10.48 MB / 1.107 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.0007518/1.214, allocations: 337.1 kB / 1.382 GB, free: 10.15 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0006902/1.214, allocations: 340.4 kB / 1.383 GB, free: 9.82 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.214, allocations: 3.938 kB / 1.383 GB, free: 9.816 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/1.215, allocations: 149.2 kB / 1.383 GB, free: 9.672 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/1.217, allocations: 0.5075 MB / 1.383 GB, free: 9.18 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/1.22, allocations: 1.65 MB / 1.385 GB, free: 7.434 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009828/1.221, allocations: 1.067 MB / 1.386 GB, free: 6.34 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/1.221, allocations: 71.42 kB / 1.386 GB, free: 6.27 MB / 1.107 GB Notification: Performance of SimCode: time 1.353e-06/1.221, allocations: 0 / 1.386 GB, free: 6.27 MB / 1.107 GB Notification: Performance of Templates: time 0.02807/1.25, allocations: 17.1 MB / 1.403 GB, free: 5.305 MB / 1.123 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=400 -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