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.001578/0.001578, allocations: 107.7 kB / 16.46 MB, free: 6.512 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.001435/0.001435, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.429/1.429, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.086/3.086, allocations: 0.49 GB / 0.7916 GB, free: 33.39 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",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.002079/0.002079, allocations: 76.03 kB / 1.149 GB, free: 26.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3106, allocations: 176.1 MB / 1.321 GB, free: 3.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2926/0.6032, allocations: 253.2 MB / 1.568 GB, free: 5.289 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.03083/0.634, allocations: 22.44 MB / 1.59 GB, free: 14.78 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00197/0.636, allocations: 79.25 kB / 1.59 GB, free: 14.7 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.003302/0.6393, allocations: 1.009 MB / 1.591 GB, free: 13.69 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.004669/0.644, allocations: 1.504 MB / 1.593 GB, free: 12.18 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.005369/0.6493, allocations: 1.969 MB / 1.595 GB, free: 10.21 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.004122/0.6535, allocations: 2.659 MB / 1.597 GB, free: 7.535 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.6552, allocations: 1.043 MB / 1.598 GB, free: 6.461 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003461/0.6587, allocations: 1.6 MB / 1.6 GB, free: 4.855 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.6603, allocations: 0.9572 MB / 1.601 GB, free: 3.895 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.6605, allocations: 108 kB / 1.601 GB, free: 3.789 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003468/0.664, allocations: 1.8 MB / 1.602 GB, free: 1.984 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0005099/0.6645, allocations: 382.7 kB / 1.603 GB, free: 1.609 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0008567/0.6653, allocations: 0.6415 MB / 1.603 GB, free: 0.9648 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.7384/1.404, allocations: 2.359 MB / 1.606 GB, free: 11.84 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/1.404, allocations: 0.75 kB / 1.606 GB, free: 11.84 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.444e-06/1.404, allocations: 0.5312 kB / 1.606 GB, free: 11.84 MB / 1.295 GB Notification: Performance of Transformations before backend: time 4.749e-05/1.404, allocations: 2.75 kB / 1.606 GB, free: 11.84 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.003051/1.407, allocations: 1.514 MB / 1.607 GB, free: 11.01 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/1.407, allocations: 13.73 kB / 1.607 GB, free: 11.01 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001854/1.407, allocations: 145.5 kB / 1.607 GB, free: 10.97 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/1.408, allocations: 232.3 kB / 1.608 GB, free: 10.9 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/1.41, allocations: 0.9407 MB / 1.609 GB, free: 10.57 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/1.41, allocations: 184.1 kB / 1.609 GB, free: 10.44 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/1.41, allocations: 94.09 kB / 1.609 GB, free: 10.44 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/1.412, allocations: 0.9313 MB / 1.61 GB, free: 10.31 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/1.412, allocations: 2 kB / 1.61 GB, free: 10.31 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.984e-05/1.412, allocations: 37.88 kB / 1.61 GB, free: 10.31 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/1.412, allocations: 23.09 kB / 1.61 GB, free: 10.31 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/1.413, allocations: 0.6354 MB / 1.61 GB, free: 10.3 MB / 1.295 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.004616/1.418, allocations: 4.441 MB / 1.615 GB, free: 7.57 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003867/1.418, allocations: 182.5 kB / 1.615 GB, free: 7.547 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/1.419, allocations: 137.8 kB / 1.615 GB, free: 7.539 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001187/1.42, allocations: 1.021 MB / 1.616 GB, free: 22.41 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/1.42, allocations: 33.06 kB / 1.616 GB, free: 22.38 MB / 1.311 GB Notification: Performance of pre-optimization done (n=24): time 1.993e-06/1.42, allocations: 0.6875 kB / 1.616 GB, free: 22.38 MB / 1.311 GB Notification: Performance of matching and sorting (n=24): time 0.001124/1.421, allocations: 479.9 kB / 1.617 GB, free: 22.28 MB / 1.311 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/1.421, allocations: 58.98 kB / 1.617 GB, free: 22.21 MB / 1.311 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001476/1.422, allocations: 1.115 MB / 1.618 GB, free: 22.06 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/1.422, allocations: 34.83 kB / 1.618 GB, free: 22.03 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/1.423, allocations: 0.5223 MB / 1.618 GB, free: 21.84 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 7.405e-05/1.423, allocations: 95.25 kB / 1.618 GB, free: 21.78 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/1.423, allocations: 98.69 kB / 1.618 GB, free: 21.76 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.0001439/1.423, allocations: 321.4 kB / 1.619 GB, free: 21.45 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/1.424, allocations: 127.6 kB / 1.619 GB, free: 21.45 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/1.424, allocations: 386.5 kB / 1.619 GB, free: 21.16 MB / 1.311 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005279/1.424, allocations: 471.6 kB / 1.62 GB, free: 20.95 MB / 1.311 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/1.424, allocations: 2.453 kB / 1.62 GB, free: 20.95 MB / 1.311 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001003/1.425, allocations: 0.5462 MB / 1.62 GB, free: 20.86 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/1.425, allocations: 11.88 kB / 1.62 GB, free: 20.85 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.426, allocations: 6.578 kB / 1.62 GB, free: 20.85 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.706e-05/1.426, allocations: 10.28 kB / 1.62 GB, free: 20.85 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/1.426, allocations: 89.17 kB / 1.62 GB, free: 20.85 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/1.426, allocations: 14.2 kB / 1.62 GB, free: 20.85 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008309/1.427, allocations: 92.27 kB / 1.62 GB, free: 20.8 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-05/1.427, allocations: 26.91 kB / 1.62 GB, free: 20.8 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.0004842/1.427, allocations: 287.3 kB / 1.621 GB, free: 20.69 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/1.428, allocations: 115.7 kB / 1.621 GB, free: 20.62 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009144/1.428, allocations: 432.2 kB / 1.621 GB, free: 20.55 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.175e-05/1.429, allocations: 3.812 kB / 1.621 GB, free: 20.55 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.429, allocations: 2.062 kB / 1.621 GB, free: 20.55 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.429, allocations: 1.641 kB / 1.621 GB, free: 20.55 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002984/1.431, allocations: 1.554 MB / 1.623 GB, free: 20.09 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.591e-05/1.432, allocations: 4.156 kB / 1.623 GB, free: 20.09 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002467/1.432, allocations: 46.92 kB / 1.623 GB, free: 20.09 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/1.432, allocations: 7.031 kB / 1.623 GB, free: 20.09 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/1.432, allocations: 11.41 kB / 1.623 GB, free: 20.09 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.356e-05/1.432, allocations: 8.141 kB / 1.623 GB, free: 20.09 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.887e-06/1.432, allocations: 7.812 kB / 1.623 GB, free: 20.09 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008746/1.433, allocations: 0.5786 MB / 1.623 GB, free: 19.75 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/1.433, allocations: 248.2 kB / 1.624 GB, free: 19.6 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/1.433, allocations: 11.06 kB / 1.624 GB, free: 19.6 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/1.434, allocations: 17.94 kB / 1.624 GB, free: 19.6 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/1.434, allocations: 30.98 kB / 1.624 GB, free: 19.59 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.437e-05/1.434, allocations: 15.39 kB / 1.624 GB, free: 19.59 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.00155/1.435, allocations: 0.7841 MB / 1.624 GB, free: 19.48 MB / 1.311 GB Notification: Performance of sort global known variables: time 8e-08/1.435, allocations: 0.5 kB / 1.624 GB, free: 19.48 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.001491/1.437, allocations: 292.1 kB / 1.625 GB, free: 19.45 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.001539/1.438, allocations: 1.326 MB / 1.626 GB, free: 18.56 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0007506/1.439, allocations: 331.2 kB / 1.626 GB, free: 18.56 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.439, allocations: 0.875 kB / 1.626 GB, free: 18.56 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/1.439, allocations: 136.1 kB / 1.626 GB, free: 18.56 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/1.442, allocations: 0.5172 MB / 1.627 GB, free: 18.5 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/1.452, allocations: 7.478 MB / 1.634 GB, free: 15.86 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008122/1.453, allocations: 1.067 MB / 1.635 GB, free: 15.16 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.0008775/1.454, allocations: 195.7 kB / 1.636 GB, free: 15.14 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004308/1.454, allocations: 364 kB / 1.636 GB, free: 15.13 MB / 1.311 GB Notification: Performance of SimCode: time 1.042e-06/1.454, allocations: 0 / 1.636 GB, free: 15.13 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05892/1.513, allocations: 28.19 MB / 1.663 GB, free: 12.78 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.3/11.81, allocations: 6.797 kB / 1.663 GB, free: 12.77 MB / 1.311 GB " [Timeout remaining time 288] (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: 18.27597816591151]