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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.689/2.689, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 73 kB / 1.104 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3192, allocations: 168.7 MB / 1.269 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2853/0.6045, allocations: 250 MB / 1.513 GB, free: 1.859 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.03034/0.6348, allocations: 22.41 MB / 1.535 GB, free: 11.38 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.6368, allocations: 51.69 kB / 1.535 GB, free: 11.33 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003179/0.64, allocations: 0.9898 MB / 1.536 GB, free: 10.34 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004537/0.6446, allocations: 1.52 MB / 1.537 GB, free: 8.809 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.005163/0.6497, allocations: 1.96 MB / 1.539 GB, free: 6.852 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.004107/0.6538, allocations: 2.667 MB / 1.542 GB, free: 4.176 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.6556, allocations: 1.035 MB / 1.543 GB, free: 3.098 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00289/0.6585, allocations: 1.358 MB / 1.544 GB, free: 1.734 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.66, allocations: 0.965 MB / 1.545 GB, free: 0.7656 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0002259/0.6602, allocations: 108 kB / 1.545 GB, free: 0.6602 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003702/0.6639, allocations: 1.773 MB / 1.547 GB, free: 14.88 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.0004993/0.6644, allocations: 394.7 kB / 1.547 GB, free: 14.5 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.0009084/0.6654, allocations: 0.6376 MB / 1.548 GB, free: 13.86 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.003874/0.6692, allocations: 2.281 MB / 1.55 GB, free: 11.57 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.6692, allocations: 0 / 1.55 GB, free: 11.57 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.794e-06/0.6692, allocations: 0 / 1.55 GB, free: 11.57 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.624e-05/0.6693, allocations: 4 kB / 1.55 GB, free: 11.56 MB / 1.264 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.002401/0.6717, allocations: 1.513 MB / 1.552 GB, free: 9.996 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.6717, allocations: 8.031 kB / 1.552 GB, free: 9.988 MB / 1.264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001786/0.6719, allocations: 139.5 kB / 1.552 GB, free: 9.844 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/0.6731, allocations: 235 kB / 1.552 GB, free: 9.613 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001701/0.6748, allocations: 0.9202 MB / 1.553 GB, free: 8.648 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.675, allocations: 184.8 kB / 1.553 GB, free: 8.445 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/0.6751, allocations: 95.94 kB / 1.553 GB, free: 8.352 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.6767, allocations: 0.9323 MB / 1.554 GB, free: 7.383 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.6767, allocations: 0 / 1.554 GB, free: 7.383 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-05/0.6768, allocations: 39.98 kB / 1.554 GB, free: 7.344 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.6768, allocations: 24 kB / 1.554 GB, free: 7.32 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.678, allocations: 0.6245 MB / 1.555 GB, free: 6.699 MB / 1.264 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.005372/0.6834, allocations: 4.444 MB / 1.559 GB, free: 1.859 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004016/0.6838, allocations: 182.6 kB / 1.559 GB, free: 1.672 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.684, allocations: 140.8 kB / 1.559 GB, free: 1.531 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001086/0.6851, allocations: 1.021 MB / 1.56 GB, free: 296 kB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.6851, allocations: 42.5 kB / 1.56 GB, free: 244 kB / 1.264 GB Notification: Performance of pre-optimization done (n=24): time 1.983e-06/0.6851, allocations: 0 / 1.56 GB, free: 244 kB / 1.264 GB Notification: Performance of matching and sorting (n=24): time 0.5803/1.265, allocations: 465.3 kB / 1.561 GB, free: 295.7 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/1.265, allocations: 56.47 kB / 1.561 GB, free: 295.6 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001793/1.267, allocations: 1.111 MB / 1.562 GB, free: 295.5 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.457e-05/1.267, allocations: 31.83 kB / 1.562 GB, free: 295.5 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/1.268, allocations: 0.5154 MB / 1.563 GB, free: 295.4 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/1.268, allocations: 92.41 kB / 1.563 GB, free: 295.3 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/1.268, allocations: 101.8 kB / 1.563 GB, free: 295.3 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 5.62e-05/1.268, allocations: 322.9 kB / 1.563 GB, free: 295 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/1.268, allocations: 130.4 kB / 1.563 GB, free: 295 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/1.269, allocations: 383.8 kB / 1.564 GB, free: 294.6 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/1.269, allocations: 474.7 kB / 1.564 GB, free: 294.3 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/1.269, allocations: 2.531 kB / 1.564 GB, free: 294.3 MB / 1.264 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009228/1.27, allocations: 0.5388 MB / 1.565 GB, free: 294.1 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.27, allocations: 10.69 kB / 1.565 GB, free: 294.1 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/1.27, allocations: 6.281 kB / 1.565 GB, free: 294.1 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.27, allocations: 9.547 kB / 1.565 GB, free: 294.1 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/1.27, allocations: 90.14 kB / 1.565 GB, free: 294.1 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/1.27, allocations: 14.5 kB / 1.565 GB, free: 294 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006396/1.271, allocations: 101.3 kB / 1.565 GB, free: 294 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/1.271, allocations: 26.38 kB / 1.565 GB, free: 294 MB / 1.264 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.0003442/1.271, allocations: 279.9 kB / 1.565 GB, free: 293.8 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/1.272, allocations: 111.1 kB / 1.565 GB, free: 293.8 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007019/1.272, allocations: 431.4 kB / 1.566 GB, free: 293.6 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/1.272, allocations: 3.453 kB / 1.566 GB, free: 293.6 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.272, allocations: 0 / 1.566 GB, free: 293.6 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/1.272, allocations: 1.703 kB / 1.566 GB, free: 293.6 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/1.275, allocations: 1.557 MB / 1.567 GB, free: 292.7 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/1.275, allocations: 7.125 kB / 1.567 GB, free: 292.7 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/1.275, allocations: 40.22 kB / 1.567 GB, free: 292.7 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/1.275, allocations: 8.641 kB / 1.567 GB, free: 292.7 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/1.275, allocations: 17.02 kB / 1.567 GB, free: 292.6 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.167e-05/1.275, allocations: 6.922 kB / 1.567 GB, free: 292.6 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/1.275, allocations: 13.03 kB / 1.567 GB, free: 292.6 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/1.276, allocations: 0.5813 MB / 1.568 GB, free: 292.2 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/1.276, allocations: 236.8 kB / 1.568 GB, free: 292 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/1.276, allocations: 19.67 kB / 1.568 GB, free: 292 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004169/1.276, allocations: 16.8 kB / 1.568 GB, free: 292 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/1.277, allocations: 29.59 kB / 1.568 GB, free: 292 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/1.277, allocations: 15.48 kB / 1.568 GB, free: 292 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0013/1.278, allocations: 0.7792 MB / 1.569 GB, free: 291.7 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/1.278, allocations: 0.5 kB / 1.569 GB, free: 291.7 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001083/1.279, allocations: 287 kB / 1.569 GB, free: 291.7 MB / 1.264 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.001323/1.28, allocations: 1.332 MB / 1.57 GB, free: 290.7 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0006672/1.281, allocations: 338.2 kB / 1.571 GB, free: 290.6 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.281, allocations: 3.188 kB / 1.571 GB, free: 290.6 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/1.281, allocations: 136.2 kB / 1.571 GB, free: 290.5 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002231/1.283, allocations: 0.517 MB / 1.571 GB, free: 290.4 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009985/1.293, allocations: 7.441 MB / 1.579 GB, free: 286.4 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006849/1.294, allocations: 1.063 MB / 1.58 GB, free: 285.6 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0009193/1.295, allocations: 203.9 kB / 1.58 GB, free: 285.6 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000415/1.295, allocations: 362.8 kB / 1.58 GB, free: 285.3 MB / 1.264 GB Notification: Performance of SimCode: time 1.643e-06/1.295, allocations: 0 / 1.58 GB, free: 285.3 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05945/1.355, allocations: 28.18 MB / 1.608 GB, free: 269.4 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/12.1, allocations: 4.562 kB / 1.608 GB, free: 269.4 MB / 1.264 GB " [Timeout remaining time 288] (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_2/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: 18.320772538892925]