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.001808/0.001808, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.002077/0.002077, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.977/2.977, allocations: 0.49 GB / 0.7923 GB, free: 1.312 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.00207/0.00207, allocations: 71.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.258/1.26, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3464/1.607, allocations: 253.2 MB / 1.569 GB, free: 11.8 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.03165/1.638, allocations: 22.45 MB / 1.591 GB, free: 5.277 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/1.641, allocations: 75.31 kB / 1.591 GB, free: 5.203 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003453/1.644, allocations: 0.9937 MB / 1.592 GB, free: 4.203 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.005787/1.65, allocations: 1.52 MB / 1.594 GB, free: 2.68 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005869/1.656, allocations: 1.966 MB / 1.596 GB, free: 0.7148 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.005014/1.661, allocations: 2.659 MB / 1.598 GB, free: 14.04 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001954/1.663, allocations: 1.035 MB / 1.599 GB, free: 12.96 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004/1.667, allocations: 1.6 MB / 1.601 GB, free: 11.36 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/1.669, allocations: 0.9572 MB / 1.602 GB, free: 10.4 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.0002039/1.669, allocations: 108 kB / 1.602 GB, free: 10.29 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003935/1.673, allocations: 1.804 MB / 1.604 GB, free: 8.484 MB / 1.279 GB Notification: Performance of NFScalarize.scalarize: time 0.0005319/1.673, allocations: 382.7 kB / 1.604 GB, free: 8.109 MB / 1.279 GB Notification: Performance of NFVerifyModel.verify: time 0.0009597/1.674, allocations: 0.6376 MB / 1.605 GB, free: 7.469 MB / 1.279 GB Notification: Performance of NFConvertDAE.convert: time 0.004397/1.679, allocations: 2.378 MB / 1.607 GB, free: 5.082 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.679, allocations: 0 / 1.607 GB, free: 5.082 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.522e-06/1.679, allocations: 4 kB / 1.607 GB, free: 5.078 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.274e-05/1.679, allocations: 0 / 1.607 GB, free: 5.078 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.002441/1.681, allocations: 1.509 MB / 1.608 GB, free: 3.516 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/1.681, allocations: 15.98 kB / 1.608 GB, free: 3.5 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/1.682, allocations: 239 kB / 1.609 GB, free: 3.266 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/1.684, allocations: 0.9397 MB / 1.61 GB, free: 2.281 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/1.684, allocations: 180.8 kB / 1.61 GB, free: 2.082 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/1.684, allocations: 99.94 kB / 1.61 GB, free: 1.984 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/1.686, allocations: 0.9324 MB / 1.611 GB, free: 1.016 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/1.686, allocations: 0 / 1.611 GB, free: 1.016 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/1.686, allocations: 36 kB / 1.611 GB, free: 0.9805 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.731e-05/1.686, allocations: 24 kB / 1.611 GB, free: 0.957 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/1.687, allocations: 0.6246 MB / 1.611 GB, free: 340 kB / 1.279 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.005192/1.692, allocations: 4.444 MB / 1.616 GB, free: 11.49 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004149/1.693, allocations: 186.6 kB / 1.616 GB, free: 11.3 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/1.693, allocations: 140.8 kB / 1.616 GB, free: 11.16 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/1.694, allocations: 1.017 MB / 1.617 GB, free: 9.922 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/1.694, allocations: 38.56 kB / 1.617 GB, free: 9.875 MB / 1.295 GB Notification: Performance of pre-optimization done (n=24): time 2.003e-06/1.694, allocations: 4 kB / 1.617 GB, free: 9.871 MB / 1.295 GB Notification: Performance of matching and sorting (n=24): time 0.001151/1.695, allocations: 479.2 kB / 1.618 GB, free: 9.398 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/1.695, allocations: 55.41 kB / 1.618 GB, free: 9.332 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/1.697, allocations: 1.118 MB / 1.619 GB, free: 8.199 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 3.977e-05/1.697, allocations: 33.7 kB / 1.619 GB, free: 8.16 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004659/1.697, allocations: 0.5166 MB / 1.619 GB, free: 7.641 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 8.448e-05/1.698, allocations: 95.25 kB / 1.619 GB, free: 7.547 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/1.698, allocations: 102 kB / 1.619 GB, free: 7.441 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.698, allocations: 318 kB / 1.62 GB, free: 7.125 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/1.698, allocations: 128.8 kB / 1.62 GB, free: 7 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/1.699, allocations: 387.1 kB / 1.62 GB, free: 6.516 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006577/1.699, allocations: 471.5 kB / 1.621 GB, free: 5.969 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/1.699, allocations: 4 kB / 1.621 GB, free: 5.965 MB / 1.295 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001002/1.7, allocations: 0.5395 MB / 1.621 GB, free: 5.418 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/1.7, allocations: 13.5 kB / 1.621 GB, free: 5.406 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/1.7, allocations: 11.98 kB / 1.621 GB, free: 5.395 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/1.7, allocations: 8 kB / 1.621 GB, free: 5.387 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/1.701, allocations: 91.78 kB / 1.621 GB, free: 5.297 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/1.701, allocations: 16.48 kB / 1.621 GB, free: 5.281 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006835/1.701, allocations: 95.28 kB / 1.621 GB, free: 5.188 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/1.701, allocations: 27.98 kB / 1.621 GB, free: 5.16 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.0004045/1.702, allocations: 285.6 kB / 1.622 GB, free: 4.871 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/1.702, allocations: 111.2 kB / 1.622 GB, free: 4.762 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007737/1.703, allocations: 430.6 kB / 1.622 GB, free: 4.332 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/1.703, allocations: 3.984 kB / 1.622 GB, free: 4.328 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.703, allocations: 3.938 kB / 1.622 GB, free: 4.324 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/1.703, allocations: 0 / 1.622 GB, free: 4.324 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/1.705, allocations: 1.566 MB / 1.624 GB, free: 2.648 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.705, allocations: 7.984 kB / 1.624 GB, free: 2.641 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/1.705, allocations: 43.86 kB / 1.624 GB, free: 2.598 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/1.705, allocations: 4 kB / 1.624 GB, free: 2.594 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/1.705, allocations: 12 kB / 1.624 GB, free: 2.582 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.675e-06/1.705, allocations: 8 kB / 1.624 GB, free: 2.574 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/1.705, allocations: 7.938 kB / 1.624 GB, free: 2.566 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/1.706, allocations: 0.5854 MB / 1.624 GB, free: 1.914 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003346/1.706, allocations: 240.3 kB / 1.625 GB, free: 1.66 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/1.707, allocations: 12 kB / 1.625 GB, free: 1.648 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/1.707, allocations: 15.98 kB / 1.625 GB, free: 1.633 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/1.707, allocations: 35.84 kB / 1.625 GB, free: 1.598 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/1.707, allocations: 8 kB / 1.625 GB, free: 1.59 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001103/1.708, allocations: 0.7904 MB / 1.626 GB, free: 0.793 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.708, allocations: 0 / 1.626 GB, free: 0.793 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009872/1.709, allocations: 287.4 kB / 1.626 GB, free: 0.5117 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.0005682/1.71, allocations: 308.5 kB / 1.626 GB, free: 208 kB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0006989/1.71, allocations: 340.4 kB / 1.626 GB, free: 15.87 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.71, allocations: 3.938 kB / 1.626 GB, free: 15.86 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/1.711, allocations: 133.2 kB / 1.627 GB, free: 15.73 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002351/1.713, allocations: 0.5116 MB / 1.627 GB, free: 15.23 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/1.716, allocations: 1.66 MB / 1.629 GB, free: 13.48 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007612/1.716, allocations: 1.067 MB / 1.63 GB, free: 12.38 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/1.717, allocations: 71.44 kB / 1.63 GB, free: 12.31 MB / 1.311 GB Notification: Performance of SimCode: time 7.92e-07/1.717, allocations: 0 / 1.63 GB, free: 12.31 MB / 1.311 GB Notification: Performance of Templates: time 0.029/1.746, allocations: 17.36 MB / 1.647 GB, free: 11.08 MB / 1.326 GB " [Timeout remaining time 298] 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/jenkins1/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: 15.88025360100437]