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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 78.33 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00241/0.00241, allocations: 155.4 kB / 23.01 MB, free: 4.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.858/2.858, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 63.89 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.002/1.004, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3236/1.328, allocations: 222.3 MB / 1.404 GB, free: 7.305 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02998/1.358, allocations: 20.56 MB / 1.424 GB, free: 2.68 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/1.36, allocations: 75.38 kB / 1.424 GB, free: 2.605 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003588/1.364, allocations: 0.9937 MB / 1.425 GB, free: 1.605 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.005226/1.369, allocations: 1.497 MB / 1.426 GB, free: 104 kB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005871/1.375, allocations: 1.96 MB / 1.428 GB, free: 14.14 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.004499/1.379, allocations: 2.694 MB / 1.431 GB, free: 11.43 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/1.381, allocations: 0.954 MB / 1.432 GB, free: 10.44 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003946/1.385, allocations: 1.639 MB / 1.433 GB, free: 8.797 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/1.387, allocations: 0.8869 MB / 1.434 GB, free: 7.906 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/1.387, allocations: 108 kB / 1.434 GB, free: 7.801 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003276/1.39, allocations: 1.395 MB / 1.436 GB, free: 6.402 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0004661/1.391, allocations: 386.7 kB / 1.436 GB, free: 6.023 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0006866/1.391, allocations: 0.5133 MB / 1.437 GB, free: 5.508 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.003449/1.395, allocations: 2.312 MB / 1.439 GB, free: 3.191 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/1.395, allocations: 4 kB / 1.439 GB, free: 3.188 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.563e-06/1.395, allocations: 4 kB / 1.439 GB, free: 3.184 MB / 1.279 GB Notification: Performance of Transformations before backend: time 1.628e-05/1.395, allocations: 0 / 1.439 GB, free: 3.184 MB / 1.279 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.002186/1.397, allocations: 1.434 MB / 1.44 GB, free: 1.715 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/1.397, allocations: 16.02 kB / 1.44 GB, free: 1.699 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/1.398, allocations: 235 kB / 1.44 GB, free: 1.469 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/1.4, allocations: 0.852 MB / 1.441 GB, free: 0.5859 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/1.4, allocations: 291.6 kB / 1.442 GB, free: 260 kB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/1.4, allocations: 95.94 kB / 1.442 GB, free: 164 kB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/1.402, allocations: 0.9362 MB / 1.443 GB, free: 15.19 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.464e-05/1.402, allocations: 3.938 kB / 1.443 GB, free: 15.18 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/1.402, allocations: 39.98 kB / 1.443 GB, free: 15.14 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/1.402, allocations: 24 kB / 1.443 GB, free: 15.12 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/1.403, allocations: 0.6246 MB / 1.443 GB, free: 14.5 MB / 1.295 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.003851/1.407, allocations: 2.63 MB / 1.446 GB, free: 11.8 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003978/1.407, allocations: 179.4 kB / 1.446 GB, free: 11.61 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000219/1.407, allocations: 144.9 kB / 1.446 GB, free: 11.47 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000553/1.408, allocations: 131.8 kB / 1.446 GB, free: 11.34 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/1.408, allocations: 30.56 kB / 1.446 GB, free: 11.3 MB / 1.295 GB Notification: Performance of pre-optimization done (n=24): time 2.164e-06/1.408, allocations: 0 / 1.446 GB, free: 11.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=24): time 0.001035/1.409, allocations: 447.2 kB / 1.447 GB, free: 10.86 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/1.409, allocations: 55.41 kB / 1.447 GB, free: 10.79 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000906/1.41, allocations: 0.7077 MB / 1.447 GB, free: 10.07 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/1.41, allocations: 33.7 kB / 1.448 GB, free: 10.04 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/1.41, allocations: 0.5503 MB / 1.448 GB, free: 9.477 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/1.41, allocations: 91.22 kB / 1.448 GB, free: 9.387 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001624/1.411, allocations: 94.14 kB / 1.448 GB, free: 9.289 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0002077/1.411, allocations: 378.8 kB / 1.449 GB, free: 8.91 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002358/1.411, allocations: 128.9 kB / 1.449 GB, free: 8.785 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/1.412, allocations: 0.7262 MB / 1.449 GB, free: 7.863 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006675/1.412, allocations: 475.5 kB / 1.45 GB, free: 7.312 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.412, allocations: 0 / 1.45 GB, free: 7.312 MB / 1.295 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009237/1.413, allocations: 0.5199 MB / 1.45 GB, free: 6.785 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.413, allocations: 5.406 kB / 1.45 GB, free: 6.781 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.413, allocations: 11.94 kB / 1.45 GB, free: 6.77 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/1.413, allocations: 12.62 kB / 1.45 GB, free: 6.758 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003757/1.414, allocations: 83.84 kB / 1.45 GB, free: 6.676 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/1.414, allocations: 15.98 kB / 1.451 GB, free: 6.66 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/1.414, allocations: 51.73 kB / 1.451 GB, free: 6.609 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/1.414, allocations: 27.98 kB / 1.451 GB, free: 6.582 MB / 1.295 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.0004441/1.415, allocations: 285.6 kB / 1.451 GB, free: 6.293 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/1.415, allocations: 75.53 kB / 1.451 GB, free: 6.219 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000739/1.416, allocations: 415.7 kB / 1.451 GB, free: 5.801 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.416, allocations: 8 kB / 1.451 GB, free: 5.793 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.416, allocations: 0 / 1.451 GB, free: 5.793 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.416, allocations: 3.984 kB / 1.451 GB, free: 5.789 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/1.418, allocations: 1.336 MB / 1.453 GB, free: 4.359 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/1.418, allocations: 4 kB / 1.453 GB, free: 4.355 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001762/1.418, allocations: 39.92 kB / 1.453 GB, free: 4.316 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/1.418, allocations: 8 kB / 1.453 GB, free: 4.309 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/1.418, allocations: 15.94 kB / 1.453 GB, free: 4.293 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.363e-06/1.418, allocations: 7.938 kB / 1.453 GB, free: 4.285 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/1.418, allocations: 4 kB / 1.453 GB, free: 4.281 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006789/1.419, allocations: 0.5499 MB / 1.453 GB, free: 3.66 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/1.419, allocations: 115.4 kB / 1.453 GB, free: 3.547 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/1.419, allocations: 15.88 kB / 1.453 GB, free: 3.531 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/1.419, allocations: 11.98 kB / 1.453 GB, free: 3.52 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/1.419, allocations: 31.84 kB / 1.453 GB, free: 3.488 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/1.419, allocations: 16 kB / 1.453 GB, free: 3.473 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.0006745/1.42, allocations: 495 kB / 1.454 GB, free: 2.996 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.42, allocations: 0 / 1.454 GB, free: 2.996 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001087/1.421, allocations: 319 kB / 1.454 GB, free: 2.684 MB / 1.295 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.0005808/1.422, allocations: 310.2 kB / 1.455 GB, free: 2.375 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0008294/1.423, allocations: 340.1 kB / 1.455 GB, free: 2.043 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.423, allocations: 0 / 1.455 GB, free: 2.043 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002108/1.423, allocations: 142.1 kB / 1.455 GB, free: 1.906 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/1.424, allocations: 269.8 kB / 1.455 GB, free: 1.648 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/1.427, allocations: 1.549 MB / 1.457 GB, free: 8 kB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005751/1.427, allocations: 487.9 kB / 1.457 GB, free: 15.5 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.000517/1.428, allocations: 135.7 kB / 1.457 GB, free: 15.37 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/1.428, allocations: 64.42 kB / 1.457 GB, free: 15.31 MB / 1.311 GB Notification: Performance of SimCode: time 3.21e-07/1.428, allocations: 0 / 1.457 GB, free: 15.31 MB / 1.311 GB Notification: Performance of Templates: time 0.024/1.452, allocations: 11.87 MB / 1.469 GB, free: 3.707 MB / 1.311 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.68026157701388]