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.001324/0.001324, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001602/0.001602, allocations: 221.9 kB / 23.03 MB, free: 4.945 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 7.793 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 3.095/3.095, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",version="2.0",platforms={"static"}) [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.001972/0.001972, allocations: 64.59 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3288, allocations: 176.1 MB / 1.327 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2669/0.5957, allocations: 222.1 MB / 1.544 GB, free: 2.598 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.02771/0.6234, allocations: 20.55 MB / 1.564 GB, free: 13.98 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.6252, allocations: 75.31 kB / 1.564 GB, free: 13.91 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003061/0.6283, allocations: 0.986 MB / 1.565 GB, free: 12.92 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.004667/0.6329, allocations: 1.512 MB / 1.566 GB, free: 11.4 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.005758/0.6387, allocations: 1.966 MB / 1.568 GB, free: 9.438 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.004482/0.6432, allocations: 2.686 MB / 1.571 GB, free: 6.734 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.6451, allocations: 0.9774 MB / 1.572 GB, free: 5.719 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003743/0.6488, allocations: 1.635 MB / 1.573 GB, free: 4.078 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.6505, allocations: 0.9494 MB / 1.574 GB, free: 3.125 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.6508, allocations: 108 kB / 1.574 GB, free: 3.02 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002996/0.6538, allocations: 1.399 MB / 1.576 GB, free: 1.617 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004537/0.6542, allocations: 394.7 kB / 1.576 GB, free: 1.23 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0007031/0.6549, allocations: 0.5095 MB / 1.576 GB, free: 0.7188 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.003433/0.6583, allocations: 2.312 MB / 1.579 GB, free: 14.4 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.6583, allocations: 0 / 1.579 GB, free: 14.4 MB / 1.279 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6583, allocations: 0 / 1.579 GB, free: 14.4 MB / 1.279 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.6584, allocations: 4 kB / 1.579 GB, free: 14.39 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.002126/0.6605, allocations: 1.438 MB / 1.58 GB, free: 12.92 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.6605, allocations: 8.031 kB / 1.58 GB, free: 12.91 MB / 1.279 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.514e-05/0.6606, allocations: 26 kB / 1.58 GB, free: 12.89 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.6607, allocations: 139.5 kB / 1.58 GB, free: 12.74 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/0.6618, allocations: 235.1 kB / 1.581 GB, free: 12.51 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.6634, allocations: 0.8598 MB / 1.581 GB, free: 11.62 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002392/0.6636, allocations: 295.5 kB / 1.582 GB, free: 11.29 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.6638, allocations: 88 kB / 1.582 GB, free: 11.2 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.6653, allocations: 0.9285 MB / 1.583 GB, free: 10.24 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.6653, allocations: 0 / 1.583 GB, free: 10.24 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.56e-05/0.6654, allocations: 36 kB / 1.583 GB, free: 10.2 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.411e-05/0.6654, allocations: 24 kB / 1.583 GB, free: 10.18 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.6666, allocations: 0.6362 MB / 1.583 GB, free: 9.543 MB / 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.004115/0.6707, allocations: 2.89 MB / 1.586 GB, free: 6.57 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004054/0.6711, allocations: 190.6 kB / 1.586 GB, free: 6.375 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.6713, allocations: 144.7 kB / 1.586 GB, free: 6.23 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005672/0.6719, allocations: 123.9 kB / 1.587 GB, free: 6.109 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.6719, allocations: 38.5 kB / 1.587 GB, free: 6.062 MB / 1.279 GB Notification: Performance of pre-optimization done (n=24): time 5.33e-06/0.6719, allocations: 3.984 kB / 1.587 GB, free: 6.059 MB / 1.279 GB Notification: Performance of matching and sorting (n=24): time 0.001125/0.673, allocations: 478.6 kB / 1.587 GB, free: 5.586 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.6731, allocations: 59.41 kB / 1.587 GB, free: 5.516 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.6746, allocations: 1.115 MB / 1.588 GB, free: 4.387 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.6746, allocations: 33.7 kB / 1.588 GB, free: 4.348 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004632/0.6751, allocations: 0.5244 MB / 1.589 GB, free: 3.82 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 9.535e-05/0.6752, allocations: 87.27 kB / 1.589 GB, free: 3.734 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.6754, allocations: 94.03 kB / 1.589 GB, free: 3.637 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6755, allocations: 322 kB / 1.589 GB, free: 3.316 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.6757, allocations: 128.8 kB / 1.589 GB, free: 3.191 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.6764, allocations: 0.7373 MB / 1.59 GB, free: 2.262 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006067/0.677, allocations: 463.6 kB / 1.591 GB, free: 1.723 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.677, allocations: 0 / 1.591 GB, free: 1.723 MB / 1.279 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009507/0.6779, allocations: 0.5549 MB / 1.591 GB, free: 1.16 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.678, allocations: 5.875 kB / 1.591 GB, free: 1.156 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.678, allocations: 8.688 kB / 1.591 GB, free: 1.148 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.678, allocations: 8 kB / 1.591 GB, free: 1.141 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003801/0.6784, allocations: 91.89 kB / 1.591 GB, free: 1.051 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.6784, allocations: 11.94 kB / 1.591 GB, free: 1.039 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006968/0.6791, allocations: 99.25 kB / 1.591 GB, free: 0.9414 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/0.6792, allocations: 27.98 kB / 1.591 GB, free: 0.9141 MB / 1.279 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.0004037/0.6796, allocations: 285.6 kB / 1.592 GB, free: 0.625 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.6797, allocations: 115.2 kB / 1.592 GB, free: 0.5117 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007371/0.6805, allocations: 434.7 kB / 1.592 GB, free: 76 kB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.6805, allocations: 4 kB / 1.592 GB, free: 72 kB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.6805, allocations: 0 / 1.592 GB, free: 72 kB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.6805, allocations: 3.984 kB / 1.592 GB, free: 68 kB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.6828, allocations: 1.44 MB / 1.594 GB, free: 14.52 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.6828, allocations: 4 kB / 1.594 GB, free: 14.52 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.683, allocations: 43.92 kB / 1.594 GB, free: 14.48 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.683, allocations: 4 kB / 1.594 GB, free: 14.47 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.6831, allocations: 15.94 kB / 1.594 GB, free: 14.46 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/0.6831, allocations: 16.48 kB / 1.594 GB, free: 14.44 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.6831, allocations: 7.938 kB / 1.594 GB, free: 14.43 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007297/0.6838, allocations: 0.5842 MB / 1.594 GB, free: 13.78 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/0.6842, allocations: 163.2 kB / 1.594 GB, free: 13.62 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.6843, allocations: 8 kB / 1.594 GB, free: 13.61 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.6847, allocations: 16.05 kB / 1.594 GB, free: 13.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/0.6848, allocations: 35.84 kB / 1.594 GB, free: 13.56 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/0.6848, allocations: 15.98 kB / 1.594 GB, free: 13.55 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001117/0.6859, allocations: 0.7943 MB / 1.595 GB, free: 12.75 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6859, allocations: 3.938 kB / 1.595 GB, free: 12.74 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.0009407/0.6869, allocations: 283.4 kB / 1.595 GB, free: 12.46 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.001465/0.6883, allocations: 1.316 MB / 1.597 GB, free: 11.07 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.0006913/0.689, allocations: 340.3 kB / 1.597 GB, free: 10.74 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.689, allocations: 0 / 1.597 GB, free: 10.74 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0002166/0.6892, allocations: 145.2 kB / 1.597 GB, free: 10.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.6916, allocations: 0.5075 MB / 1.598 GB, free: 10.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.7021, allocations: 7.47 MB / 1.605 GB, free: 2.211 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.7026, allocations: 485 kB / 1.605 GB, free: 1.707 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.0007876/0.7034, allocations: 198.3 kB / 1.606 GB, free: 1.516 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/0.7039, allocations: 367.3 kB / 1.606 GB, free: 1.156 MB / 1.295 GB Notification: Performance of SimCode: time 9.41e-07/0.7039, allocations: 0 / 1.606 GB, free: 1.156 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.66/1.364, allocations: 30.3 MB / 1.636 GB, free: 275.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/15.43, allocations: 13.61 kB / 1.636 GB, free: 275.3 MB / 1.295 GB " [Timeout remaining time 284] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 420.0] 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: 22.168635426904075]