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.001779/0.001779, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002295/0.002295, allocations: 213.9 kB / 22.25 MB, free: 5.242 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.533/1.533, allocations: 230.6 MB / 256 MB, free: 7.805 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.3/3.3, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_latest_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.002031/0.002031, allocations: 73.08 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.347, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2611/0.6081, allocations: 222.3 MB / 1.58 GB, free: 14.96 MB / 1.279 GB Notification: Performance of NFInst.instExpressions: time 0.02677/0.6349, allocations: 20.56 MB / 1.601 GB, free: 10.34 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.6365, allocations: 79.31 kB / 1.601 GB, free: 10.26 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.002604/0.6391, allocations: 0.9821 MB / 1.602 GB, free: 9.27 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.004093/0.6432, allocations: 1.508 MB / 1.603 GB, free: 7.754 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.005006/0.6482, allocations: 1.958 MB / 1.605 GB, free: 5.801 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.003999/0.6522, allocations: 2.69 MB / 1.608 GB, free: 3.102 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.6538, allocations: 0.9579 MB / 1.609 GB, free: 2.105 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003346/0.6572, allocations: 1.635 MB / 1.61 GB, free: 476 kB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.7488/1.406, allocations: 0.882 MB / 1.611 GB, free: 7.594 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0003568/1.406, allocations: 110.8 kB / 1.611 GB, free: 7.594 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00348/1.41, allocations: 1.393 MB / 1.612 GB, free: 7.594 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.000535/1.41, allocations: 387.2 kB / 1.613 GB, free: 7.594 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.001053/1.411, allocations: 0.5143 MB / 1.613 GB, free: 7.594 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.004134/1.415, allocations: 2.306 MB / 1.616 GB, free: 7.473 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.415, allocations: 1.203 kB / 1.616 GB, free: 7.473 MB / 1.295 GB Notification: Performance of FrontEnd: time 3.517e-06/1.415, allocations: 1.672 kB / 1.616 GB, free: 7.473 MB / 1.295 GB Notification: Performance of Transformations before backend: time 2.575e-05/1.416, allocations: 0.8125 kB / 1.616 GB, free: 7.473 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.002359/1.418, allocations: 1.445 MB / 1.617 GB, free: 6.734 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.418, allocations: 9.219 kB / 1.617 GB, free: 6.734 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001659/1.418, allocations: 142.1 kB / 1.617 GB, free: 6.695 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/1.419, allocations: 237.1 kB / 1.617 GB, free: 6.625 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/1.421, allocations: 0.8474 MB / 1.618 GB, free: 6.367 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/1.421, allocations: 294.3 kB / 1.618 GB, free: 6.113 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/1.421, allocations: 92.19 kB / 1.619 GB, free: 6.113 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001959/1.423, allocations: 0.9285 MB / 1.619 GB, free: 5.984 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/1.423, allocations: 3.75 kB / 1.619 GB, free: 5.984 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.79e-05/1.423, allocations: 38.25 kB / 1.62 GB, free: 5.984 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/1.423, allocations: 21.03 kB / 1.62 GB, free: 5.984 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/1.425, allocations: 0.6302 MB / 1.62 GB, free: 5.977 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.004421/1.429, allocations: 2.901 MB / 1.623 GB, free: 4.84 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003863/1.43, allocations: 179.8 kB / 1.623 GB, free: 4.816 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/1.43, allocations: 132.5 kB / 1.623 GB, free: 4.809 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005888/1.431, allocations: 130.3 kB / 1.623 GB, free: 4.809 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/1.431, allocations: 37.17 kB / 1.623 GB, free: 4.77 MB / 1.295 GB Notification: Performance of pre-optimization done (n=24): time 2.053e-06/1.431, allocations: 1.938 kB / 1.623 GB, free: 4.77 MB / 1.295 GB Notification: Performance of matching and sorting (n=24): time 0.001054/1.432, allocations: 479.7 kB / 1.624 GB, free: 4.672 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/1.432, allocations: 58.84 kB / 1.624 GB, free: 4.609 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/1.433, allocations: 1.125 MB / 1.625 GB, free: 4.449 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/1.433, allocations: 35.58 kB / 1.625 GB, free: 4.418 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/1.434, allocations: 0.5207 MB / 1.626 GB, free: 4.223 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 6.495e-05/1.434, allocations: 90.5 kB / 1.626 GB, free: 4.168 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001621/1.434, allocations: 100.2 kB / 1.626 GB, free: 4.145 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 7.254e-05/1.434, allocations: 323.6 kB / 1.626 GB, free: 3.84 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/1.434, allocations: 130.2 kB / 1.626 GB, free: 3.84 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/1.435, allocations: 0.7255 MB / 1.627 GB, free: 3.117 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/1.435, allocations: 473.7 kB / 1.627 GB, free: 2.898 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/1.435, allocations: 6.109 kB / 1.627 GB, free: 2.898 MB / 1.295 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001157/1.437, allocations: 0.5412 MB / 1.628 GB, free: 2.812 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 3.181e-05/1.437, allocations: 12.78 kB / 1.628 GB, free: 2.809 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/1.437, allocations: 6.188 kB / 1.628 GB, free: 2.809 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/1.437, allocations: 9.344 kB / 1.628 GB, free: 2.809 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004221/1.437, allocations: 89.5 kB / 1.628 GB, free: 2.809 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.261e-05/1.437, allocations: 9.984 kB / 1.628 GB, free: 2.809 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007604/1.438, allocations: 101 kB / 1.628 GB, free: 2.754 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/1.438, allocations: 28.94 kB / 1.628 GB, free: 2.754 MB / 1.295 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.0004058/1.438, allocations: 291.8 kB / 1.628 GB, free: 2.637 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/1.439, allocations: 108.5 kB / 1.629 GB, free: 2.578 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007447/1.439, allocations: 428.2 kB / 1.629 GB, free: 2.512 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/1.439, allocations: 3.156 kB / 1.629 GB, free: 2.512 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/1.439, allocations: 1.031 kB / 1.629 GB, free: 2.512 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.439, allocations: 2.578 kB / 1.629 GB, free: 2.512 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/1.442, allocations: 1.444 MB / 1.63 GB, free: 18.08 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.442, allocations: 5.312 kB / 1.63 GB, free: 18.08 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/1.442, allocations: 44.17 kB / 1.63 GB, free: 18.08 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/1.442, allocations: 5.875 kB / 1.63 GB, free: 18.08 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/1.442, allocations: 13.66 kB / 1.63 GB, free: 18.08 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.654e-06/1.442, allocations: 10.06 kB / 1.63 GB, free: 18.08 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/1.442, allocations: 8.125 kB / 1.63 GB, free: 18.08 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005616/1.442, allocations: 0.5811 MB / 1.631 GB, free: 17.75 MB / 1.311 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/1.443, allocations: 168 kB / 1.631 GB, free: 17.68 MB / 1.311 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/1.443, allocations: 12.69 kB / 1.631 GB, free: 17.68 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/1.443, allocations: 16.69 kB / 1.631 GB, free: 17.68 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/1.443, allocations: 35.75 kB / 1.631 GB, free: 17.68 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.357e-05/1.443, allocations: 11.59 kB / 1.631 GB, free: 17.68 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.0009883/1.444, allocations: 0.787 MB / 1.632 GB, free: 17.57 MB / 1.311 GB Notification: Performance of sort global known variables: time 7e-08/1.444, allocations: 0.9375 kB / 1.632 GB, free: 17.57 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.0009761/1.445, allocations: 291.3 kB / 1.632 GB, free: 17.53 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.001343/1.447, allocations: 1.329 MB / 1.634 GB, free: 16.65 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.0006449/1.447, allocations: 332.3 kB / 1.634 GB, free: 16.65 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/1.447, allocations: 1.125 kB / 1.634 GB, free: 16.65 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.0001903/1.447, allocations: 142.4 kB / 1.634 GB, free: 16.65 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/1.45, allocations: 0.51 MB / 1.635 GB, free: 16.6 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.46, allocations: 7.466 MB / 1.642 GB, free: 13.96 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006522/1.46, allocations: 481.5 kB / 1.642 GB, free: 13.85 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.0009872/1.461, allocations: 198.1 kB / 1.642 GB, free: 13.83 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/1.462, allocations: 368.4 kB / 1.643 GB, free: 13.82 MB / 1.311 GB Notification: Performance of SimCode: time 1.242e-06/1.462, allocations: 0 / 1.643 GB, free: 13.82 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06224/1.524, allocations: 30.74 MB / 1.673 GB, free: 10.26 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/13.68, allocations: 7.438 kB / 1.673 GB, free: 10.26 MB / 1.311 GB " [Timeout remaining time 286] (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: 20.758885088842362]