Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002135/0.002135, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.002695/0.002695, allocations: 165.5 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.595/1.595, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.041/3.041, allocations: 377.8 MB / 0.6221 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.9814 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.371e-05, allocations: 6.281 kB / 0.9814 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 1.182/1.182, allocations: 221.7 MB / 1.198 GB, free: 44.59 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03149/1.213, allocations: 20.46 MB / 1.218 GB, free: 43.17 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003289/1.216, allocations: 81.38 kB / 1.218 GB, free: 43.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003858/1.22, allocations: 0.9952 MB / 1.219 GB, free: 42.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006823/1.227, allocations: 1.553 MB / 1.22 GB, free: 41.99 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00759/1.235, allocations: 2.046 MB / 1.222 GB, free: 41.04 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005878/1.241, allocations: 2.716 MB / 1.225 GB, free: 39.71 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/1.243, allocations: 0.9612 MB / 1.226 GB, free: 39.21 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005647/1.248, allocations: 2.023 MB / 1.228 GB, free: 38.34 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/1.251, allocations: 0.8059 MB / 1.229 GB, free: 38.07 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002556/1.251, allocations: 110.1 kB / 1.229 GB, free: 38.07 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005313/1.256, allocations: 1.418 MB / 1.23 GB, free: 37.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0006575/1.257, allocations: 406.9 kB / 1.231 GB, free: 37.37 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001096/1.258, allocations: 445.7 kB / 1.231 GB, free: 37.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.006491/1.264, allocations: 2.353 MB / 1.233 GB, free: 36.4 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/1.264, allocations: 4 kB / 1.233 GB, free: 36.4 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.184e-06/1.264, allocations: 0 / 1.233 GB, free: 36.4 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.35e-05/1.264, allocations: 0 / 1.233 GB, free: 36.4 MB / 1.076 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.002894/1.267, allocations: 1.439 MB / 1.235 GB, free: 35.41 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.283e-05/1.267, allocations: 9.156 kB / 1.235 GB, free: 35.41 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/1.269, allocations: 236.3 kB / 1.235 GB, free: 35.34 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002014/1.271, allocations: 0.8724 MB / 1.236 GB, free: 34.84 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/1.271, allocations: 293.4 kB / 1.236 GB, free: 34.55 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001695/1.271, allocations: 91.78 kB / 1.236 GB, free: 34.53 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/1.273, allocations: 0.9297 MB / 1.237 GB, free: 34.1 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/1.273, allocations: 3.938 kB / 1.237 GB, free: 34.1 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.673e-05/1.274, allocations: 36.91 kB / 1.237 GB, free: 34.07 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.634e-05/1.274, allocations: 21.59 kB / 1.237 GB, free: 34.07 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00138/1.275, allocations: 0.6367 MB / 1.238 GB, free: 33.84 MB / 1.076 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.004278/1.279, allocations: 2.642 MB / 1.24 GB, free: 32.18 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/1.28, allocations: 177.1 kB / 1.241 GB, free: 32.1 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002477/1.28, allocations: 136.9 kB / 1.241 GB, free: 32.05 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006439/1.281, allocations: 124.7 kB / 1.241 GB, free: 32.03 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/1.281, allocations: 37.66 kB / 1.241 GB, free: 31.99 MB / 1.076 GB Notification: Performance of pre-optimization done (n=24): time 2.083e-06/1.281, allocations: 0 / 1.241 GB, free: 31.99 MB / 1.076 GB Notification: Performance of matching and sorting (n=24): time 0.001203/1.282, allocations: 443.4 kB / 1.241 GB, free: 31.81 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/1.282, allocations: 55.16 kB / 1.241 GB, free: 31.75 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/1.283, allocations: 0.7245 MB / 1.242 GB, free: 31.43 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/1.283, allocations: 35.92 kB / 1.242 GB, free: 31.39 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004268/1.283, allocations: 0.5572 MB / 1.243 GB, free: 30.95 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/1.283, allocations: 88.05 kB / 1.243 GB, free: 30.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/1.284, allocations: 95.61 kB / 1.243 GB, free: 30.82 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.686e-05/1.284, allocations: 319.9 kB / 1.243 GB, free: 30.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002419/1.284, allocations: 132.4 kB / 1.243 GB, free: 30.47 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000529/1.284, allocations: 0.7295 MB / 1.244 GB, free: 29.69 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005769/1.285, allocations: 470.7 kB / 1.244 GB, free: 29.35 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.285, allocations: 2.281 kB / 1.244 GB, free: 29.35 MB / 1.076 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009449/1.286, allocations: 0.5155 MB / 1.245 GB, free: 29.16 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/1.286, allocations: 6.812 kB / 1.245 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.286, allocations: 6.938 kB / 1.245 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.994e-05/1.286, allocations: 9.938 kB / 1.245 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003776/1.286, allocations: 90.91 kB / 1.245 GB, free: 29.15 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.647e-05/1.286, allocations: 22.55 kB / 1.245 GB, free: 29.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/1.287, allocations: 59.61 kB / 1.245 GB, free: 29.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/1.287, allocations: 25.62 kB / 1.245 GB, free: 29.11 MB / 1.076 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.0004031/1.287, allocations: 291.5 kB / 1.245 GB, free: 28.9 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/1.288, allocations: 81.48 kB / 1.245 GB, free: 28.86 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000699/1.288, allocations: 395 kB / 1.246 GB, free: 28.68 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/1.288, allocations: 7.281 kB / 1.246 GB, free: 28.67 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/1.288, allocations: 0 / 1.246 GB, free: 28.67 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.288, allocations: 7.688 kB / 1.246 GB, free: 28.67 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/1.29, allocations: 1.341 MB / 1.247 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.29, allocations: 7.469 kB / 1.247 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/1.291, allocations: 44.06 kB / 1.247 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.385e-06/1.291, allocations: 5.844 kB / 1.247 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/1.291, allocations: 6.719 kB / 1.247 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/1.291, allocations: 8.188 kB / 1.247 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/1.291, allocations: 6.812 kB / 1.247 GB, free: 27.91 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/1.291, allocations: 0.5519 MB / 1.248 GB, free: 27.5 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/1.291, allocations: 113.9 kB / 1.248 GB, free: 27.43 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.507e-05/1.292, allocations: 12.48 kB / 1.248 GB, free: 27.43 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003028/1.292, allocations: 9.469 kB / 1.248 GB, free: 27.42 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.33e-05/1.292, allocations: 30.47 kB / 1.248 GB, free: 27.41 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/1.292, allocations: 15.34 kB / 1.248 GB, free: 27.41 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006451/1.293, allocations: 0.4982 MB / 1.248 GB, free: 27.19 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.293, allocations: 0 / 1.248 GB, free: 27.19 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00128/1.294, allocations: 328.1 kB / 1.249 GB, free: 27.1 MB / 1.076 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.0006029/1.294, allocations: 317.6 kB / 1.249 GB, free: 26.94 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0006962/1.295, allocations: 337.6 kB / 1.249 GB, free: 26.84 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.295, allocations: 1.094 kB / 1.249 GB, free: 26.84 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002239/1.295, allocations: 141.4 kB / 1.25 GB, free: 26.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/1.297, allocations: 271.4 kB / 1.25 GB, free: 26.73 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/1.299, allocations: 1.539 MB / 1.251 GB, free: 25.79 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005417/1.3, allocations: 0.4897 MB / 1.252 GB, free: 25.64 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004868/1.3, allocations: 144.1 kB / 1.252 GB, free: 25.61 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/1.3, allocations: 52.38 kB / 1.252 GB, free: 25.6 MB / 1.076 GB Notification: Performance of SimCode: time 7.61e-07/1.3, allocations: 0 / 1.252 GB, free: 25.6 MB / 1.076 GB Notification: Performance of Templates: time 0.02308/1.323, allocations: 11.97 MB / 1.264 GB, free: 23.98 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.76957093551755]