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.001497/0.001497, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001596/0.001596, allocations: 161.7 kB / 23.55 MB, free: 0.8906 MB / 18.57 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.632/1.632, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 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.927/2.927, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 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 1.573e-06/1.573e-06, allocations: 0 / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.503e-05/3.661e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.4421/0.4421, allocations: 221.6 MB / 1.003 GB, free: 14.42 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.035/0.4771, allocations: 20.46 MB / 1.023 GB, free: 9.898 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002559/0.4797, allocations: 75.31 kB / 1.023 GB, free: 9.824 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.003519/0.4832, allocations: 1.013 MB / 1.024 GB, free: 8.805 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.005227/0.4884, allocations: 1.554 MB / 1.025 GB, free: 7.242 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.006895/0.4953, allocations: 2.048 MB / 1.027 GB, free: 5.188 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.00558/0.5009, allocations: 2.721 MB / 1.03 GB, free: 2.457 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001926/0.5028, allocations: 0.9894 MB / 1.031 GB, free: 1.434 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003922/0.5068, allocations: 1.792 MB / 1.033 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.5083, allocations: 0.814 MB / 1.034 GB, free: 14.82 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003346/0.5086, allocations: 108 kB / 1.034 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003602/0.5122, allocations: 1.441 MB / 1.035 GB, free: 13.27 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0004825/0.5127, allocations: 410.7 kB / 1.035 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006213/0.5133, allocations: 435 kB / 1.036 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003717/0.517, allocations: 2.36 MB / 1.038 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.517, allocations: 3.938 kB / 1.038 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.522e-06/0.517, allocations: 0 / 1.038 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.172e-05/0.5171, allocations: 0 / 1.038 GB, free: 10.07 MB / 0.9948 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.00272/0.5198, allocations: 1.445 MB / 1.04 GB, free: 8.586 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.5198, allocations: 12.03 kB / 1.04 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.5212, allocations: 342.6 kB / 1.04 GB, free: 8.238 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.5232, allocations: 0.9456 MB / 1.041 GB, free: 7.266 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003422/0.5236, allocations: 291.6 kB / 1.041 GB, free: 6.93 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.5237, allocations: 92 kB / 1.041 GB, free: 6.84 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.5254, allocations: 0.9324 MB / 1.042 GB, free: 5.875 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.5255, allocations: 3.938 kB / 1.042 GB, free: 5.871 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.5256, allocations: 36 kB / 1.042 GB, free: 5.836 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.5256, allocations: 20 kB / 1.042 GB, free: 5.816 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.5268, allocations: 0.6285 MB / 1.043 GB, free: 5.188 MB / 0.9948 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.0044/0.5312, allocations: 2.689 MB / 1.045 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.5317, allocations: 182.7 kB / 1.046 GB, free: 2.242 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.5319, allocations: 136.6 kB / 1.046 GB, free: 2.105 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/0.5326, allocations: 131.9 kB / 1.046 GB, free: 1.977 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.5326, allocations: 38.56 kB / 1.046 GB, free: 1.93 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=24): time 1.974e-06/0.5326, allocations: 0 / 1.046 GB, free: 1.93 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24): time 0.001188/0.5338, allocations: 450.7 kB / 1.046 GB, free: 1.484 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.5338, allocations: 55.41 kB / 1.046 GB, free: 1.418 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.535, allocations: 0.7272 MB / 1.047 GB, free: 0.6797 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.535, allocations: 33.7 kB / 1.047 GB, free: 0.6406 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006896/0.5357, allocations: 0.558 MB / 1.048 GB, free: 76 kB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.5963/1.132, allocations: 86.38 kB / 1.048 GB, free: 306.7 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/1.132, allocations: 98.39 kB / 1.048 GB, free: 306.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.842e-05/1.132, allocations: 321.4 kB / 1.048 GB, free: 306.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/1.133, allocations: 130 kB / 1.048 GB, free: 306.4 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004328/1.133, allocations: 0.7308 MB / 1.049 GB, free: 305.6 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/1.134, allocations: 459.9 kB / 1.049 GB, free: 305.4 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.954e-06/1.134, allocations: 10.41 kB / 1.049 GB, free: 305.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009778/1.135, allocations: 0.536 MB / 1.05 GB, free: 305.3 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.135, allocations: 6.844 kB / 1.05 GB, free: 305.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/1.135, allocations: 8.375 kB / 1.05 GB, free: 305.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.198e-05/1.135, allocations: 10.66 kB / 1.05 GB, free: 305.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003658/1.135, allocations: 88.08 kB / 1.05 GB, free: 305.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.614e-05/1.135, allocations: 15.72 kB / 1.05 GB, free: 305.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005342/1.136, allocations: 45.89 kB / 1.05 GB, free: 305.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/1.136, allocations: 26.33 kB / 1.05 GB, free: 305.3 MB / 0.9948 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.0004261/1.136, allocations: 294.1 kB / 1.05 GB, free: 305.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/1.136, allocations: 86.7 kB / 1.051 GB, free: 305.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007467/1.137, allocations: 396.7 kB / 1.051 GB, free: 304.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/1.137, allocations: 2.969 kB / 1.051 GB, free: 304.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.137, allocations: 9.406 kB / 1.051 GB, free: 304.9 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/1.137, allocations: 0 / 1.051 GB, free: 304.9 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002062/1.139, allocations: 1.345 MB / 1.052 GB, free: 304.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.139, allocations: 4.062 kB / 1.052 GB, free: 304.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/1.139, allocations: 39 kB / 1.052 GB, free: 304.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/1.139, allocations: 6.969 kB / 1.052 GB, free: 304.1 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.351e-05/1.139, allocations: 12.62 kB / 1.052 GB, free: 304.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/1.139, allocations: 13.27 kB / 1.052 GB, free: 304.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.139, allocations: 7.438 kB / 1.052 GB, free: 304.1 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/1.14, allocations: 0.5464 MB / 1.053 GB, free: 303.7 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001904/1.14, allocations: 119.2 kB / 1.053 GB, free: 303.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.96e-05/1.14, allocations: 18 kB / 1.053 GB, free: 303.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000299/1.14, allocations: 13.84 kB / 1.053 GB, free: 303.6 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/1.14, allocations: 26.67 kB / 1.053 GB, free: 303.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/1.14, allocations: 12.16 kB / 1.053 GB, free: 303.6 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0005866/1.141, allocations: 0.5064 MB / 1.054 GB, free: 303.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/1.141, allocations: 2.188 kB / 1.054 GB, free: 303.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001048/1.142, allocations: 326.9 kB / 1.054 GB, free: 303.4 MB / 0.9948 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.0005577/1.143, allocations: 313.5 kB / 1.054 GB, free: 303.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005368/1.143, allocations: 342.1 kB / 1.054 GB, free: 303.2 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.143, allocations: 0 / 1.054 GB, free: 303.2 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001892/1.143, allocations: 140.1 kB / 1.055 GB, free: 303.1 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/1.145, allocations: 288.8 kB / 1.055 GB, free: 303.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/1.147, allocations: 1.567 MB / 1.056 GB, free: 302.1 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/1.147, allocations: 484.9 kB / 1.057 GB, free: 302 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0005023/1.148, allocations: 150.8 kB / 1.057 GB, free: 301.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001392/1.148, allocations: 52.23 kB / 1.057 GB, free: 301.9 MB / 0.9948 GB Notification: Performance of SimCode: time 9.21e-07/1.148, allocations: 0 / 1.057 GB, free: 301.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.02173/1.17, allocations: 12.17 MB / 1.069 GB, free: 300.5 MB / 0.9948 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.223058559000492]