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.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.001721/0.001721, allocations: 78.41 kB / 19.18 MB, free: 2.527 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.002084/0.002084, allocations: 169.3 kB / 22.46 MB, free: 5.359 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.575/1.575, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.92/2.92, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.522e-06/6.522e-06, allocations: 4 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.277e-05/4.929e-05, allocations: 6.219 kB / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.205/1.205, allocations: 221.6 MB / 1.167 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02764/1.233, allocations: 20.46 MB / 1.187 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003066/1.236, allocations: 77.66 kB / 1.187 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003734/1.239, allocations: 1 MB / 1.188 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006208/1.246, allocations: 1.561 MB / 1.19 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00699/1.253, allocations: 2.038 MB / 1.192 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005177/1.258, allocations: 2.735 MB / 1.195 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/1.26, allocations: 0.9603 MB / 1.196 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003598/1.263, allocations: 1.772 MB / 1.197 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001273/1.264, allocations: 0.8172 MB / 1.198 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001786/1.265, allocations: 109.8 kB / 1.198 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003849/1.268, allocations: 1.439 MB / 1.2 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000414/1.269, allocations: 412.4 kB / 1.2 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006351/1.269, allocations: 439.7 kB / 1.2 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004195/1.274, allocations: 2.353 MB / 1.203 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/1.274, allocations: 0 / 1.203 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.246e-06/1.274, allocations: 0 / 1.203 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.055e-05/1.274, allocations: 0 / 1.203 GB, free: 3.082 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.00227/1.276, allocations: 1.442 MB / 1.204 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/1.276, allocations: 10.69 kB / 1.204 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/1.277, allocations: 243.4 kB / 1.204 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/1.279, allocations: 0.8697 MB / 1.205 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/1.279, allocations: 290.2 kB / 1.206 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/1.279, allocations: 97.56 kB / 1.206 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/1.28, allocations: 0.9297 MB / 1.207 GB, free: 0.7773 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/1.28, allocations: 6.469 kB / 1.207 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/1.281, allocations: 38.16 kB / 1.207 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/1.281, allocations: 25 kB / 1.207 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009758/1.282, allocations: 0.6266 MB / 1.207 GB, free: 0.5273 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.003786/1.285, allocations: 2.639 MB / 1.21 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/1.286, allocations: 180.7 kB / 1.21 GB, free: 14.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/1.286, allocations: 136.1 kB / 1.21 GB, free: 14.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005977/1.287, allocations: 130 kB / 1.21 GB, free: 14.71 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/1.287, allocations: 32.16 kB / 1.21 GB, free: 14.67 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.984e-06/1.287, allocations: 0 / 1.21 GB, free: 14.67 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.001085/1.288, allocations: 444.9 kB / 1.211 GB, free: 14.49 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/1.288, allocations: 61.38 kB / 1.211 GB, free: 14.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009587/1.289, allocations: 0.7276 MB / 1.211 GB, free: 14.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/1.289, allocations: 37.17 kB / 1.211 GB, free: 14.06 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004706/1.289, allocations: 0.5476 MB / 1.212 GB, free: 13.62 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.944e-05/1.289, allocations: 90.53 kB / 1.212 GB, free: 13.55 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/1.29, allocations: 96.73 kB / 1.212 GB, free: 13.5 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001723/1.29, allocations: 322 kB / 1.212 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/1.29, allocations: 129.8 kB / 1.213 GB, free: 13.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/1.291, allocations: 0.7328 MB / 1.213 GB, free: 12.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/1.291, allocations: 468.6 kB / 1.214 GB, free: 12.02 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.291, allocations: 3.469 kB / 1.214 GB, free: 12.02 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000914/1.292, allocations: 0.5104 MB / 1.214 GB, free: 11.83 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.292, allocations: 12.44 kB / 1.214 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.292, allocations: 9.031 kB / 1.214 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/1.292, allocations: 8.188 kB / 1.214 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/1.293, allocations: 86.22 kB / 1.214 GB, free: 11.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.932e-05/1.293, allocations: 14.52 kB / 1.214 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005406/1.293, allocations: 54.06 kB / 1.214 GB, free: 11.79 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-05/1.293, allocations: 27.56 kB / 1.214 GB, free: 11.79 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.0004652/1.294, allocations: 286.7 kB / 1.215 GB, free: 11.59 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/1.294, allocations: 75.38 kB / 1.215 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007517/1.295, allocations: 403.6 kB / 1.215 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/1.295, allocations: 10.62 kB / 1.215 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/1.295, allocations: 0 / 1.215 GB, free: 11.36 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/1.295, allocations: 5.344 kB / 1.215 GB, free: 11.35 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/1.297, allocations: 1.342 MB / 1.217 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/1.297, allocations: 4.688 kB / 1.217 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/1.297, allocations: 38.42 kB / 1.217 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/1.297, allocations: 10.25 kB / 1.217 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/1.297, allocations: 10.83 kB / 1.217 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/1.297, allocations: 7.906 kB / 1.217 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/1.297, allocations: 10.08 kB / 1.217 GB, free: 10.6 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006833/1.298, allocations: 0.5461 MB / 1.217 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/1.298, allocations: 113.6 kB / 1.217 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/1.298, allocations: 10.25 kB / 1.217 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/1.298, allocations: 7.438 kB / 1.217 GB, free: 10.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.799e-05/1.299, allocations: 36.52 kB / 1.217 GB, free: 10.1 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/1.299, allocations: 18.72 kB / 1.217 GB, free: 10.09 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007036/1.299, allocations: 0.499 MB / 1.218 GB, free: 9.875 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/1.299, allocations: 0 / 1.218 GB, free: 9.875 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001107/1.3, allocations: 333.5 kB / 1.218 GB, free: 9.777 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.0005774/1.301, allocations: 319.6 kB / 1.218 GB, free: 9.613 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0006029/1.302, allocations: 337.4 kB / 1.219 GB, free: 9.52 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.302, allocations: 0 / 1.219 GB, free: 9.52 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/1.302, allocations: 137.2 kB / 1.219 GB, free: 9.484 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/1.303, allocations: 268.3 kB / 1.219 GB, free: 9.402 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002527/1.306, allocations: 1.545 MB / 1.221 GB, free: 8.469 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/1.306, allocations: 494.1 kB / 1.221 GB, free: 8.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0004944/1.307, allocations: 143.8 kB / 1.221 GB, free: 8.289 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/1.307, allocations: 53.22 kB / 1.221 GB, free: 8.277 MB / 1.014 GB Notification: Performance of SimCode: time 6.91e-07/1.307, allocations: 0 / 1.221 GB, free: 8.277 MB / 1.014 GB Notification: Performance of Templates: time 0.02541/1.332, allocations: 11.98 MB / 1.233 GB, free: 3.312 MB / 1.014 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.60044415667653]