Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 103.4 kB / 15.34 MB, free: 0.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 195.4 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.053/2.053, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 67.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4707/0.4719, allocations: 140.3 MB / 0.9492 GB, free: 9.277 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1944/0.6664, allocations: 246 MB / 1.189 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01958/0.686, allocations: 22.08 MB / 1.211 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.6871, allocations: 47.69 kB / 1.211 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001969/0.6891, allocations: 0.8471 MB / 1.212 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002903/0.6921, allocations: 1.388 MB / 1.213 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003415/0.6955, allocations: 1.783 MB / 1.215 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002605/0.6981, allocations: 2.699 MB / 1.218 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.6995, allocations: 1.289 MB / 1.219 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.7015, allocations: 1.354 MB / 1.22 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00108/0.7026, allocations: 0.9416 MB / 1.221 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.7028, allocations: 108 kB / 1.221 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002274/0.705, allocations: 1.73 MB / 1.223 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003124/0.7054, allocations: 378.9 kB / 1.223 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005747/0.7059, allocations: 0.6415 MB / 1.224 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.7082, allocations: 2.337 MB / 1.226 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7082, allocations: 0 / 1.226 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.7082, allocations: 0 / 1.226 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.416e-05/0.7082, allocations: 0 / 1.226 GB, free: 5.578 MB / 0.9825 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.001694/0.7099, allocations: 1.472 MB / 1.228 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.71, allocations: 12.03 kB / 1.228 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.7101, allocations: 143.5 kB / 1.228 GB, free: 3.891 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009337/0.711, allocations: 230.3 kB / 1.228 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009773/0.712, allocations: 0.8493 MB / 1.229 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.7122, allocations: 188.8 kB / 1.229 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.893e-05/0.7123, allocations: 95.92 kB / 1.229 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.7135, allocations: 0.9323 MB / 1.23 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.7135, allocations: 0 / 1.23 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.126e-05/0.7136, allocations: 39.94 kB / 1.23 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.7136, allocations: 20 kB / 1.23 GB, free: 1.445 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000931/0.7145, allocations: 0.6324 MB / 1.231 GB, free: 0.8086 MB / 0.9825 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.003515/0.7181, allocations: 4.443 MB / 1.235 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003076/0.7184, allocations: 190.7 kB / 1.235 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.7186, allocations: 144.8 kB / 1.235 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007895/0.7194, allocations: 1.017 MB / 1.236 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.7194, allocations: 38.5 kB / 1.236 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.7194, allocations: 0 / 1.236 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.0008655/0.7203, allocations: 465.5 kB / 1.237 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.7203, allocations: 55.41 kB / 1.237 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.7214, allocations: 1.114 MB / 1.238 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.7215, allocations: 25.7 kB / 1.238 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.7218, allocations: 0.5195 MB / 1.238 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.7219, allocations: 82.84 kB / 1.239 GB, free: 8.055 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001359/0.722, allocations: 101.9 kB / 1.239 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.146e-05/0.7221, allocations: 326 kB / 1.239 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.7223, allocations: 124.8 kB / 1.239 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.7226, allocations: 383.1 kB / 1.239 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004704/0.7231, allocations: 467.5 kB / 1.24 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.7231, allocations: 4 kB / 1.24 GB, free: 6.473 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007562/0.7239, allocations: 0.5355 MB / 1.24 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.7239, allocations: 11.94 kB / 1.24 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7239, allocations: 8.031 kB / 1.24 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.724, allocations: 8 kB / 1.24 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.7243, allocations: 91.83 kB / 1.241 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.7243, allocations: 15.94 kB / 1.241 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006459/0.7249, allocations: 123 kB / 1.241 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.725, allocations: 24 kB / 1.241 GB, free: 5.652 MB / 0.9981 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.0002834/0.7253, allocations: 289.6 kB / 1.241 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.7254, allocations: 106.6 kB / 1.241 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006015/0.726, allocations: 426.8 kB / 1.241 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.726, allocations: 0 / 1.241 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.726, allocations: 0 / 1.241 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.726, allocations: 11.98 kB / 1.241 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.7278, allocations: 1.55 MB / 1.243 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.7278, allocations: 15.94 kB / 1.243 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/0.728, allocations: 39.92 kB / 1.243 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.728, allocations: 4 kB / 1.243 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.728, allocations: 12 kB / 1.243 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.728, allocations: 7.984 kB / 1.243 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.728, allocations: 11.94 kB / 1.243 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.7285, allocations: 0.5779 MB / 1.244 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002432/0.7288, allocations: 231.7 kB / 1.244 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.7289, allocations: 20.05 kB / 1.244 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.7293, allocations: 27.98 kB / 1.244 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.504e-05/0.7294, allocations: 43.77 kB / 1.244 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.7294, allocations: 12 kB / 1.244 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008189/0.7302, allocations: 0.7783 MB / 1.245 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7302, allocations: 0 / 1.245 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006731/0.7309, allocations: 287.5 kB / 1.245 GB, free: 1.004 MB / 0.9981 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.3108/1.042, allocations: 1.332 MB / 1.246 GB, free: 288.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000683/1.042, allocations: 343.3 kB / 1.247 GB, free: 288.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/1.042, allocations: 0.8125 kB / 1.247 GB, free: 288.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001842/1.043, allocations: 142.2 kB / 1.247 GB, free: 288.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/1.045, allocations: 0.5101 MB / 1.247 GB, free: 288.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00887/1.054, allocations: 8.205 MB / 1.255 GB, free: 283.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/1.054, allocations: 1.064 MB / 1.256 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006559/1.055, allocations: 202.1 kB / 1.257 GB, free: 282.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003337/1.055, allocations: 361.5 kB / 1.257 GB, free: 282.6 MB / 0.9981 GB Notification: Performance of SimCode: time 2.5e-07/1.055, allocations: 0.6562 kB / 1.257 GB, free: 282.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5221/1.577, allocations: 27.59 MB / 1.284 GB, free: 269.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/1.578, allocations: 254.8 kB / 1.284 GB, free: 268.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/3.944, allocations: 0 / 1.284 GB, free: 268.8 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches