Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001429/0.001429, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001473/0.001473, allocations: 217.4 kB / 23.04 MB, free: 5.078 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.153/3.153, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_latest_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.001974/0.001974, allocations: 65.34 kB / 1.171 GB, free: 19.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.338, allocations: 179 MB / 1.345 GB, free: 432 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2832/0.6212, allocations: 254.2 MB / 1.594 GB, free: 1.301 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.7513/1.372, allocations: 22.6 MB / 1.616 GB, free: 3.883 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001651/1.374, allocations: 76.19 kB / 1.616 GB, free: 3.883 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.002883/1.377, allocations: 0.9958 MB / 1.617 GB, free: 3.883 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.004371/1.381, allocations: 1.535 MB / 1.618 GB, free: 3.883 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.005629/1.387, allocations: 2.028 MB / 1.62 GB, free: 3.828 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.005176/1.392, allocations: 2.706 MB / 1.623 GB, free: 3.82 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/1.394, allocations: 0.9751 MB / 1.624 GB, free: 3.738 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00423/1.398, allocations: 1.621 MB / 1.625 GB, free: 3.723 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/1.401, allocations: 0.9524 MB / 1.626 GB, free: 3.723 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0003967/1.401, allocations: 109.3 kB / 1.626 GB, free: 3.723 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005097/1.406, allocations: 1.842 MB / 1.628 GB, free: 3.703 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0008033/1.407, allocations: 392.4 kB / 1.629 GB, free: 3.703 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001814/1.409, allocations: 0.6361 MB / 1.629 GB, free: 3.703 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.007159/1.416, allocations: 2.364 MB / 1.631 GB, free: 3.574 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/1.416, allocations: 0.9375 kB / 1.631 GB, free: 3.574 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.655e-06/1.416, allocations: 0.6562 kB / 1.631 GB, free: 3.574 MB / 1.295 GB Notification: Performance of Transformations before backend: time 7.506e-05/1.416, allocations: 0 / 1.631 GB, free: 3.574 MB / 1.295 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.003484/1.42, allocations: 1.441 MB / 1.633 GB, free: 18.83 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.42, allocations: 9.781 kB / 1.633 GB, free: 18.83 MB / 1.311 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.069e-05/1.42, allocations: 24.22 kB / 1.633 GB, free: 18.83 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001854/1.42, allocations: 143.7 kB / 1.633 GB, free: 18.79 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/1.421, allocations: 239 kB / 1.633 GB, free: 18.72 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/1.423, allocations: 0.8571 MB / 1.634 GB, free: 18.45 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002237/1.423, allocations: 295 kB / 1.634 GB, free: 18.2 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/1.423, allocations: 91.41 kB / 1.635 GB, free: 18.2 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/1.425, allocations: 0.9361 MB / 1.635 GB, free: 18.07 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/1.425, allocations: 0 / 1.635 GB, free: 18.07 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.041e-05/1.425, allocations: 38.19 kB / 1.635 GB, free: 18.07 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/1.425, allocations: 23.91 kB / 1.635 GB, free: 18.07 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/1.426, allocations: 0.6305 MB / 1.636 GB, free: 18.06 MB / 1.311 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.00494/1.431, allocations: 4.371 MB / 1.64 GB, free: 15.36 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003711/1.431, allocations: 177.5 kB / 1.641 GB, free: 15.34 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001884/1.432, allocations: 145.7 kB / 1.641 GB, free: 15.33 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000532/1.432, allocations: 125.3 kB / 1.641 GB, free: 15.32 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/1.432, allocations: 36.62 kB / 1.641 GB, free: 15.29 MB / 1.311 GB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/1.432, allocations: 1 kB / 1.641 GB, free: 15.29 MB / 1.311 GB Notification: Performance of matching and sorting (n=24): time 0.001028/1.433, allocations: 470.2 kB / 1.641 GB, free: 15.19 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/1.433, allocations: 55.41 kB / 1.641 GB, free: 15.13 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/1.435, allocations: 1.122 MB / 1.642 GB, free: 14.98 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 6.316e-05/1.435, allocations: 34.88 kB / 1.642 GB, free: 14.95 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.000391/1.435, allocations: 0.5207 MB / 1.643 GB, free: 14.75 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 6.266e-05/1.435, allocations: 89.44 kB / 1.643 GB, free: 14.7 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/1.435, allocations: 100.5 kB / 1.643 GB, free: 14.67 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.436, allocations: 323.3 kB / 1.643 GB, free: 14.37 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002243/1.436, allocations: 130.7 kB / 1.644 GB, free: 14.36 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/1.436, allocations: 384 kB / 1.644 GB, free: 14.08 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/1.437, allocations: 470.3 kB / 1.644 GB, free: 13.86 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/1.437, allocations: 4.406 kB / 1.644 GB, free: 13.86 MB / 1.311 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009263/1.438, allocations: 0.5462 MB / 1.645 GB, free: 13.77 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.438, allocations: 9.234 kB / 1.645 GB, free: 13.77 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.438, allocations: 6.719 kB / 1.645 GB, free: 13.77 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.438, allocations: 12.22 kB / 1.645 GB, free: 13.77 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/1.438, allocations: 89.66 kB / 1.645 GB, free: 13.77 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/1.438, allocations: 14.64 kB / 1.645 GB, free: 13.77 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000758/1.439, allocations: 101.2 kB / 1.645 GB, free: 13.71 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.057e-05/1.439, allocations: 26.83 kB / 1.645 GB, free: 13.71 MB / 1.311 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.000396/1.439, allocations: 287.8 kB / 1.645 GB, free: 13.59 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/1.439, allocations: 112.5 kB / 1.646 GB, free: 13.53 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006595/1.44, allocations: 427.8 kB / 1.646 GB, free: 13.46 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/1.44, allocations: 5.875 kB / 1.646 GB, free: 13.46 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.44, allocations: 5.469 kB / 1.646 GB, free: 13.46 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.44, allocations: 1.438 kB / 1.646 GB, free: 13.46 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/1.442, allocations: 1.525 MB / 1.647 GB, free: 13.03 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.442, allocations: 4.031 kB / 1.647 GB, free: 13.03 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/1.442, allocations: 44.86 kB / 1.648 GB, free: 13.03 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/1.442, allocations: 5.656 kB / 1.648 GB, free: 13.03 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/1.442, allocations: 15.34 kB / 1.648 GB, free: 13.03 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/1.442, allocations: 8.594 kB / 1.648 GB, free: 13.03 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/1.442, allocations: 12.28 kB / 1.648 GB, free: 13.03 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006415/1.443, allocations: 0.5831 MB / 1.648 GB, free: 12.69 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/1.443, allocations: 163.2 kB / 1.648 GB, free: 12.63 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/1.443, allocations: 13.66 kB / 1.648 GB, free: 12.63 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/1.444, allocations: 18.69 kB / 1.648 GB, free: 12.63 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.089e-05/1.444, allocations: 28.42 kB / 1.648 GB, free: 12.62 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/1.444, allocations: 14.81 kB / 1.648 GB, free: 12.62 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.0009594/1.445, allocations: 0.7883 MB / 1.649 GB, free: 12.52 MB / 1.311 GB Notification: Performance of sort global known variables: time 8e-08/1.445, allocations: 1.094 kB / 1.649 GB, free: 12.52 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001063/1.446, allocations: 292.1 kB / 1.649 GB, free: 12.48 MB / 1.311 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.00141/1.447, allocations: 1.324 MB / 1.651 GB, free: 11.59 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0006001/1.448, allocations: 339.4 kB / 1.651 GB, free: 11.59 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/1.448, allocations: 0 / 1.651 GB, free: 11.59 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0001824/1.448, allocations: 138.1 kB / 1.651 GB, free: 11.59 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/1.45, allocations: 0.5141 MB / 1.652 GB, free: 11.51 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009824/1.46, allocations: 7.476 MB / 1.659 GB, free: 8.852 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006831/1.461, allocations: 1.067 MB / 1.66 GB, free: 8.152 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.0008062/1.462, allocations: 198.6 kB / 1.66 GB, free: 8.133 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/1.462, allocations: 367.1 kB / 1.661 GB, free: 8.129 MB / 1.311 GB Notification: Performance of SimCode: time 1.062e-06/1.462, allocations: 0 / 1.661 GB, free: 8.129 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05602/1.518, allocations: 28.57 MB / 1.688 GB, free: 5.582 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/15.08, allocations: 4.5 kB / 1.688 GB, free: 5.582 MB / 1.311 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 21.879117150965612]