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.0007474/0.0007474, allocations: 76.55 kB / 19.93 MB, free: 4.637 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.0008161/0.0008161, allocations: 177.9 kB / 23.22 MB, free: 1.352 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 0.8992/0.8992, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.769/1.769, allocations: 377.9 MB / 0.6228 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] 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.533e-06/1.533e-06, allocations: 0 / 0.9822 GB, free: 2.062 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.489e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.059 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7558/0.7558, allocations: 221.7 MB / 1.199 GB, free: 11.73 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0209/0.7767, allocations: 20.46 MB / 1.219 GB, free: 13.94 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.7784, allocations: 80.28 kB / 1.219 GB, free: 13.89 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.7807, allocations: 1.005 MB / 1.22 GB, free: 13.08 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.004284/0.785, allocations: 1.559 MB / 1.221 GB, free: 11.85 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.0059/0.7909, allocations: 2.033 MB / 1.223 GB, free: 10.32 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.00409/0.7949, allocations: 2.717 MB / 1.226 GB, free: 8.695 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.7966, allocations: 0.9705 MB / 1.227 GB, free: 7.992 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004414/0.8011, allocations: 2.016 MB / 1.229 GB, free: 6.684 MB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.8025, allocations: 0.8069 MB / 1.23 GB, free: 6.262 MB / 1.057 GB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.8028, allocations: 109.6 kB / 1.23 GB, free: 6.262 MB / 1.057 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.8063, allocations: 1.424 MB / 1.231 GB, free: 5.5 MB / 1.057 GB Notification: Performance of NFScalarize.scalarize: time 0.0004164/0.8067, allocations: 404.5 kB / 1.231 GB, free: 5.211 MB / 1.057 GB Notification: Performance of NFVerifyModel.verify: time 0.0007212/0.8075, allocations: 442.9 kB / 1.232 GB, free: 4.996 MB / 1.057 GB Notification: Performance of NFConvertDAE.convert: time 0.00363/0.8111, allocations: 2.353 MB / 1.234 GB, free: 3.445 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/0.8111, allocations: 0 / 1.234 GB, free: 3.445 MB / 1.057 GB Notification: Performance of FrontEnd: time 2.575e-06/0.8111, allocations: 0 / 1.234 GB, free: 3.445 MB / 1.057 GB Notification: Performance of Transformations before backend: time 5.826e-05/0.8112, allocations: 0 / 1.234 GB, free: 3.445 MB / 1.057 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.002696/0.8139, allocations: 1.45 MB / 1.236 GB, free: 2.328 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.8139, allocations: 8.094 kB / 1.236 GB, free: 2.328 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.815, allocations: 238.4 kB / 1.236 GB, free: 2.219 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001761/0.8168, allocations: 0.8667 MB / 1.237 GB, free: 1.562 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000241/0.817, allocations: 291 kB / 1.237 GB, free: 1.273 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.8171, allocations: 97.69 kB / 1.237 GB, free: 1.238 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.8188, allocations: 0.9267 MB / 1.238 GB, free: 0.6641 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.8188, allocations: 3.938 kB / 1.238 GB, free: 0.6602 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.091e-05/0.8189, allocations: 41.28 kB / 1.238 GB, free: 0.6289 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.882e-05/0.8189, allocations: 24.47 kB / 1.238 GB, free: 0.6289 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/0.8202, allocations: 0.6275 MB / 1.239 GB, free: 328 kB / 1.057 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.003994/0.8242, allocations: 2.632 MB / 1.241 GB, free: 14.27 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/0.8246, allocations: 180.3 kB / 1.241 GB, free: 14.17 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002149/0.8248, allocations: 141.5 kB / 1.242 GB, free: 14.09 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004582/0.8253, allocations: 126.4 kB / 1.242 GB, free: 14.05 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.8253, allocations: 40.86 kB / 1.242 GB, free: 14 MB / 1.073 GB Notification: Performance of pre-optimization done (n=24): time 2.294e-06/0.8253, allocations: 3.938 kB / 1.242 GB, free: 14 MB / 1.073 GB Notification: Performance of matching and sorting (n=24): time 0.0009794/0.8263, allocations: 441.2 kB / 1.242 GB, free: 13.77 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.8263, allocations: 53.62 kB / 1.242 GB, free: 13.71 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.8273, allocations: 0.728 MB / 1.243 GB, free: 13.28 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.8274, allocations: 32.77 kB / 1.243 GB, free: 13.25 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/0.8278, allocations: 0.5516 MB / 1.243 GB, free: 12.75 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 8.029e-05/0.8279, allocations: 96.59 kB / 1.244 GB, free: 12.67 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.8281, allocations: 89.95 kB / 1.244 GB, free: 12.62 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.8282, allocations: 323.2 kB / 1.244 GB, free: 12.3 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.8285, allocations: 129 kB / 1.244 GB, free: 12.24 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007372/0.8292, allocations: 0.7284 MB / 1.245 GB, free: 11.42 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006947/0.8299, allocations: 470 kB / 1.245 GB, free: 11.03 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-06/0.8299, allocations: 2.719 kB / 1.245 GB, free: 11.03 MB / 1.073 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001012/0.831, allocations: 0.5138 MB / 1.246 GB, free: 10.75 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 3.698e-05/0.831, allocations: 7.562 kB / 1.246 GB, free: 10.75 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.831, allocations: 8.312 kB / 1.246 GB, free: 10.75 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.073e-05/0.831, allocations: 8.031 kB / 1.246 GB, free: 10.75 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003627/0.8314, allocations: 90.11 kB / 1.246 GB, free: 10.72 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.8314, allocations: 11.59 kB / 1.246 GB, free: 10.72 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/0.8319, allocations: 52.75 kB / 1.246 GB, free: 10.69 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/0.832, allocations: 29.53 kB / 1.246 GB, free: 10.68 MB / 1.073 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.0004648/0.8324, allocations: 293 kB / 1.246 GB, free: 10.45 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.8326, allocations: 78.36 kB / 1.246 GB, free: 10.41 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008018/0.8334, allocations: 402.6 kB / 1.247 GB, free: 10.16 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.8334, allocations: 2.531 kB / 1.247 GB, free: 10.16 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.8334, allocations: 6.125 kB / 1.247 GB, free: 10.16 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.8334, allocations: 3.938 kB / 1.247 GB, free: 10.15 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002238/0.8356, allocations: 1.347 MB / 1.248 GB, free: 9.168 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.8356, allocations: 7.062 kB / 1.248 GB, free: 9.164 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.8358, allocations: 42.61 kB / 1.248 GB, free: 9.156 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.8358, allocations: 5.531 kB / 1.248 GB, free: 9.156 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.8358, allocations: 8.844 kB / 1.248 GB, free: 9.152 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.879e-06/0.8359, allocations: 9.625 kB / 1.248 GB, free: 9.148 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.8359, allocations: 4.906 kB / 1.248 GB, free: 9.148 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007525/0.8366, allocations: 0.5574 MB / 1.249 GB, free: 8.547 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002294/0.8368, allocations: 111.4 kB / 1.249 GB, free: 8.438 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.526e-05/0.8369, allocations: 15.98 kB / 1.249 GB, free: 8.422 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.8372, allocations: 8 kB / 1.249 GB, free: 8.414 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.8373, allocations: 31.84 kB / 1.249 GB, free: 8.383 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-05/0.8373, allocations: 16 kB / 1.249 GB, free: 8.367 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0007613/0.8381, allocations: 0.499 MB / 1.249 GB, free: 7.871 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8381, allocations: 0 / 1.249 GB, free: 7.871 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.001357/0.8394, allocations: 330.9 kB / 1.25 GB, free: 7.547 MB / 1.073 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.0006364/0.8401, allocations: 310.4 kB / 1.25 GB, free: 7.238 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0006494/0.8407, allocations: 336 kB / 1.25 GB, free: 6.91 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/0.8407, allocations: 0 / 1.25 GB, free: 6.91 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.8409, allocations: 138.2 kB / 1.25 GB, free: 6.777 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.8422, allocations: 269.9 kB / 1.251 GB, free: 6.531 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.8448, allocations: 1.598 MB / 1.252 GB, free: 4.832 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.8453, allocations: 488.1 kB / 1.253 GB, free: 4.324 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.8455, allocations: 56.48 kB / 1.253 GB, free: 4.27 MB / 1.073 GB Notification: Performance of SimCode: time 8.21e-07/0.8455, allocations: 0 / 1.253 GB, free: 4.27 MB / 1.073 GB Notification: Performance of Templates: time 0.02333/0.8688, allocations: 14.5 MB / 1.267 GB, free: 5.891 MB / 1.089 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: 8.995369537733495]