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.00181/0.00181, allocations: 101.3 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.001658/0.001658, allocations: 217.6 kB / 23.03 MB, free: 4.949 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.748/2.748, allocations: 476.8 MB / 0.7715 GB, free: 3.926 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_11_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.001961/0.001961, allocations: 60.56 kB / 1.118 GB, free: 39.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 170 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2928/0.6308, allocations: 222.1 MB / 1.501 GB, free: 11.84 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.03126/0.6621, allocations: 20.54 MB / 1.521 GB, free: 7.238 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001928/0.664, allocations: 71.38 kB / 1.521 GB, free: 7.168 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003316/0.6673, allocations: 0.9821 MB / 1.522 GB, free: 6.18 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00499/0.6723, allocations: 1.516 MB / 1.524 GB, free: 4.656 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005674/0.678, allocations: 1.968 MB / 1.525 GB, free: 2.691 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004506/0.6825, allocations: 2.702 MB / 1.528 GB, free: 15.98 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.6844, allocations: 0.9695 MB / 1.529 GB, free: 14.97 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.6874, allocations: 1.386 MB / 1.53 GB, free: 13.58 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001826/0.6893, allocations: 0.965 MB / 1.531 GB, free: 12.61 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003221/0.6896, allocations: 108 kB / 1.531 GB, free: 12.51 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003414/0.693, allocations: 1.426 MB / 1.533 GB, free: 11.08 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0006243/0.6936, allocations: 390.7 kB / 1.533 GB, free: 10.7 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/0.6947, allocations: 0.5172 MB / 1.534 GB, free: 10.18 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005018/0.6997, allocations: 2.293 MB / 1.536 GB, free: 7.875 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6997, allocations: 0 / 1.536 GB, free: 7.875 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6997, allocations: 0 / 1.536 GB, free: 7.875 MB / 1.232 GB Notification: Performance of Transformations before backend: time 5.929e-05/0.6997, allocations: 4 kB / 1.536 GB, free: 7.871 MB / 1.232 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.002784/0.7025, allocations: 1.43 MB / 1.537 GB, free: 6.406 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.7026, allocations: 8.031 kB / 1.537 GB, free: 6.398 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.403e-05/0.7026, allocations: 30 kB / 1.537 GB, free: 6.367 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002197/0.7028, allocations: 147.5 kB / 1.538 GB, free: 6.215 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001243/0.7041, allocations: 227.1 kB / 1.538 GB, free: 5.992 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.706, allocations: 0.8441 MB / 1.539 GB, free: 5.125 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003032/0.7063, allocations: 299.5 kB / 1.539 GB, free: 4.781 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.7065, allocations: 88 kB / 1.539 GB, free: 4.695 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.7084, allocations: 0.9324 MB / 1.54 GB, free: 3.73 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.7084, allocations: 0 / 1.54 GB, free: 3.73 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.061e-05/0.7085, allocations: 39.94 kB / 1.54 GB, free: 3.691 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/0.7085, allocations: 24 kB / 1.54 GB, free: 3.668 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.7098, allocations: 0.6362 MB / 1.541 GB, free: 3.027 MB / 1.232 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.004714/0.7145, allocations: 2.886 MB / 1.543 GB, free: 60 kB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/0.7149, allocations: 178.7 kB / 1.544 GB, free: 15.88 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002186/0.7152, allocations: 140.8 kB / 1.544 GB, free: 15.73 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.7157, allocations: 123.9 kB / 1.544 GB, free: 15.61 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.222e-05/0.7158, allocations: 42.5 kB / 1.544 GB, free: 15.56 MB / 1.248 GB Notification: Performance of pre-optimization done (n=24): time 2.305e-06/0.7158, allocations: 0 / 1.544 GB, free: 15.56 MB / 1.248 GB Notification: Performance of matching and sorting (n=24): time 0.001185/0.717, allocations: 474.9 kB / 1.544 GB, free: 15.09 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.717, allocations: 55.41 kB / 1.544 GB, free: 15.03 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001637/0.7187, allocations: 1.106 MB / 1.545 GB, free: 13.91 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.7187, allocations: 37.69 kB / 1.545 GB, free: 13.86 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000489/0.7192, allocations: 0.5126 MB / 1.546 GB, free: 13.35 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.7193, allocations: 95.2 kB / 1.546 GB, free: 13.25 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000181/0.7195, allocations: 94.08 kB / 1.546 GB, free: 13.16 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.7196, allocations: 326 kB / 1.546 GB, free: 12.83 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.7199, allocations: 124.8 kB / 1.547 GB, free: 12.71 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000719/0.7206, allocations: 0.7334 MB / 1.547 GB, free: 11.78 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006694/0.7213, allocations: 471.5 kB / 1.548 GB, free: 11.23 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.7213, allocations: 0 / 1.548 GB, free: 11.23 MB / 1.248 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001076/0.7224, allocations: 0.5437 MB / 1.548 GB, free: 10.68 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.7224, allocations: 18.27 kB / 1.548 GB, free: 10.67 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.7224, allocations: 8 kB / 1.548 GB, free: 10.66 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.7224, allocations: 8 kB / 1.548 GB, free: 10.65 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.7228, allocations: 83.91 kB / 1.548 GB, free: 10.57 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.7228, allocations: 15.92 kB / 1.548 GB, free: 10.55 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/0.7236, allocations: 99.23 kB / 1.548 GB, free: 10.46 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/0.7236, allocations: 27.98 kB / 1.548 GB, free: 10.43 MB / 1.248 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.0004238/0.7241, allocations: 281.6 kB / 1.549 GB, free: 10.14 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.7243, allocations: 111.3 kB / 1.549 GB, free: 10.04 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008163/0.7251, allocations: 433.3 kB / 1.549 GB, free: 9.602 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.7251, allocations: 7.984 kB / 1.549 GB, free: 9.594 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.7251, allocations: 0 / 1.549 GB, free: 9.594 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.7251, allocations: 0 / 1.549 GB, free: 9.594 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.7275, allocations: 1.444 MB / 1.551 GB, free: 8.047 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.7275, allocations: 7.938 kB / 1.551 GB, free: 8.039 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.7277, allocations: 39.98 kB / 1.551 GB, free: 8 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.7277, allocations: 8.562 kB / 1.551 GB, free: 7.992 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.7278, allocations: 19.94 kB / 1.551 GB, free: 7.973 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.36e-05/0.7278, allocations: 15.92 kB / 1.551 GB, free: 7.957 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.7278, allocations: 7.984 kB / 1.551 GB, free: 7.949 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.7285, allocations: 0.5798 MB / 1.551 GB, free: 7.301 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003794/0.7289, allocations: 159.2 kB / 1.552 GB, free: 7.145 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.7291, allocations: 12 kB / 1.552 GB, free: 7.133 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004645/0.7295, allocations: 19.92 kB / 1.552 GB, free: 7.113 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.7296, allocations: 31.91 kB / 1.552 GB, free: 7.082 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/0.7296, allocations: 15.98 kB / 1.552 GB, free: 7.066 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001175/0.7308, allocations: 0.7822 MB / 1.552 GB, free: 6.277 MB / 1.248 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7308, allocations: 0 / 1.552 GB, free: 6.277 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001001/0.7318, allocations: 287.4 kB / 1.553 GB, free: 5.996 MB / 1.248 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.001702/0.7335, allocations: 1.333 MB / 1.554 GB, free: 4.59 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0007047/0.7342, allocations: 327.5 kB / 1.554 GB, free: 4.27 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7342, allocations: 0 / 1.554 GB, free: 4.27 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002223/0.7344, allocations: 138.1 kB / 1.554 GB, free: 4.137 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.7369, allocations: 0.514 MB / 1.555 GB, free: 3.629 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/0.748, allocations: 7.434 MB / 1.562 GB, free: 11.78 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/0.7486, allocations: 477.3 kB / 1.563 GB, free: 11.28 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0008275/0.7494, allocations: 197.7 kB / 1.563 GB, free: 11.09 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005504/0.7499, allocations: 363.3 kB / 1.563 GB, free: 10.73 MB / 1.264 GB Notification: Performance of SimCode: time 1.653e-06/0.7499, allocations: 0 / 1.563 GB, free: 10.73 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06654/0.8165, allocations: 30.21 MB / 1.593 GB, free: 13.21 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.91/14.73, allocations: 1.562 kB / 1.593 GB, free: 13.21 MB / 1.295 GB " [Timeout remaining time 285] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 22.138967260019854]