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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004914/0.004914, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001319/0.001319, allocations: 197.8 kB / 16.68 MB, free: 5.969 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.252/1.252, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.553/2.553, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 76.02 kB / 1.083 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2715, allocations: 162.3 MB / 1.242 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6914/0.963, allocations: 249 MB / 1.485 GB, free: 13.98 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02303/0.986, allocations: 22.28 MB / 1.507 GB, free: 7.629 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008646/0.9869, allocations: 51.69 kB / 1.507 GB, free: 7.578 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001927/0.9889, allocations: 0.982 MB / 1.508 GB, free: 6.59 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002637/0.9915, allocations: 1.465 MB / 1.509 GB, free: 5.117 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003538/0.9951, allocations: 1.931 MB / 1.511 GB, free: 3.191 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002488/0.9976, allocations: 2.674 MB / 1.514 GB, free: 0.5156 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.999, allocations: 1.323 MB / 1.515 GB, free: 15.16 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002305/1.001, allocations: 1.561 MB / 1.517 GB, free: 13.59 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009895/1.002, allocations: 0.8988 MB / 1.517 GB, free: 12.69 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001409/1.002, allocations: 112 kB / 1.518 GB, free: 12.58 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002326/1.005, allocations: 1.66 MB / 1.519 GB, free: 10.92 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003119/1.005, allocations: 374.9 kB / 1.52 GB, free: 10.55 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005264/1.006, allocations: 0.6299 MB / 1.52 GB, free: 9.918 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.00225/1.008, allocations: 2.285 MB / 1.522 GB, free: 7.625 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/1.008, allocations: 0 / 1.522 GB, free: 7.625 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.232e-06/1.008, allocations: 0 / 1.522 GB, free: 7.625 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.493e-05/1.008, allocations: 11.98 kB / 1.522 GB, free: 7.613 MB / 1.217 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.001646/1.01, allocations: 1.509 MB / 1.524 GB, free: 6.051 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/1.01, allocations: 8.031 kB / 1.524 GB, free: 6.043 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/1.01, allocations: 143.5 kB / 1.524 GB, free: 5.895 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008736/1.011, allocations: 239 kB / 1.524 GB, free: 5.66 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/1.012, allocations: 0.9164 MB / 1.525 GB, free: 4.699 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001508/1.012, allocations: 192.7 kB / 1.525 GB, free: 4.488 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/1.012, allocations: 91.94 kB / 1.525 GB, free: 4.398 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/1.013, allocations: 0.9285 MB / 1.526 GB, free: 3.434 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.686e-05/1.013, allocations: 0 / 1.526 GB, free: 3.434 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.127e-05/1.013, allocations: 36 kB / 1.526 GB, free: 3.398 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/1.014, allocations: 24 kB / 1.526 GB, free: 3.375 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009532/1.014, allocations: 0.6285 MB / 1.527 GB, free: 2.746 MB / 1.217 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.003806/1.018, allocations: 4.44 MB / 1.531 GB, free: 13.91 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/1.019, allocations: 190.7 kB / 1.531 GB, free: 13.71 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/1.019, allocations: 141.6 kB / 1.532 GB, free: 13.57 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008541/1.02, allocations: 1.025 MB / 1.533 GB, free: 12.33 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.237e-05/1.02, allocations: 34.56 kB / 1.533 GB, free: 12.29 MB / 1.232 GB Notification: Performance of pre-optimization done (n=24): time 1.112e-06/1.02, allocations: 0 / 1.533 GB, free: 12.29 MB / 1.232 GB Notification: Performance of matching and sorting (n=24): time 0.0008497/1.021, allocations: 486.9 kB / 1.533 GB, free: 11.8 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/1.021, allocations: 55.41 kB / 1.533 GB, free: 11.74 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/1.022, allocations: 1.106 MB / 1.534 GB, free: 10.62 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/1.022, allocations: 29.7 kB / 1.534 GB, free: 10.58 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003736/1.022, allocations: 0.5126 MB / 1.535 GB, free: 10.07 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/1.022, allocations: 99.14 kB / 1.535 GB, free: 9.969 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/1.022, allocations: 98.08 kB / 1.535 GB, free: 9.867 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001115/1.023, allocations: 318 kB / 1.535 GB, free: 9.551 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002151/1.023, allocations: 132.8 kB / 1.535 GB, free: 9.418 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004011/1.023, allocations: 387.1 kB / 1.536 GB, free: 8.93 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005305/1.024, allocations: 471.5 kB / 1.536 GB, free: 8.383 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/1.024, allocations: 4 kB / 1.536 GB, free: 8.379 MB / 1.232 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007694/1.024, allocations: 0.544 MB / 1.537 GB, free: 7.828 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.025, allocations: 11.94 kB / 1.537 GB, free: 7.816 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.025, allocations: 8 kB / 1.537 GB, free: 7.809 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/1.025, allocations: 8 kB / 1.537 GB, free: 7.801 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002904/1.025, allocations: 87.84 kB / 1.537 GB, free: 7.715 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/1.025, allocations: 19.92 kB / 1.537 GB, free: 7.695 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/1.025, allocations: 95.27 kB / 1.537 GB, free: 7.602 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/1.025, allocations: 27.98 kB / 1.537 GB, free: 7.574 MB / 1.232 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.0002963/1.026, allocations: 285.7 kB / 1.537 GB, free: 7.285 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/1.026, allocations: 115.2 kB / 1.537 GB, free: 7.172 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006105/1.026, allocations: 424 kB / 1.538 GB, free: 6.75 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.026, allocations: 0 / 1.538 GB, free: 6.75 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.026, allocations: 4 kB / 1.538 GB, free: 6.746 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/1.026, allocations: 4 kB / 1.538 GB, free: 6.742 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001804/1.028, allocations: 1.544 MB / 1.539 GB, free: 5.09 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/1.028, allocations: 4 kB / 1.539 GB, free: 5.086 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/1.028, allocations: 55.88 kB / 1.539 GB, free: 5.031 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.028, allocations: 4 kB / 1.539 GB, free: 5.027 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/1.029, allocations: 12 kB / 1.539 GB, free: 5.016 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/1.029, allocations: 4 kB / 1.539 GB, free: 5.012 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-06/1.029, allocations: 11.94 kB / 1.539 GB, free: 5 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/1.029, allocations: 0.571 MB / 1.54 GB, free: 4.359 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/1.029, allocations: 248.2 kB / 1.54 GB, free: 4.098 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/1.029, allocations: 8 kB / 1.54 GB, free: 4.09 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/1.03, allocations: 23.92 kB / 1.54 GB, free: 4.066 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/1.03, allocations: 31.84 kB / 1.54 GB, free: 4.035 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/1.03, allocations: 12 kB / 1.54 GB, free: 4.023 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008893/1.031, allocations: 0.7822 MB / 1.541 GB, free: 3.234 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.9e-07/1.031, allocations: 7.938 kB / 1.541 GB, free: 3.227 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0006306/1.031, allocations: 287.4 kB / 1.541 GB, free: 2.945 MB / 1.232 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.001256/1.033, allocations: 1.347 MB / 1.543 GB, free: 1.523 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005042/1.033, allocations: 339.2 kB / 1.543 GB, free: 1.195 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.033, allocations: 4 kB / 1.543 GB, free: 1.191 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/1.033, allocations: 140.1 kB / 1.543 GB, free: 1.055 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/1.035, allocations: 0.5139 MB / 1.544 GB, free: 0.5586 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008116/1.043, allocations: 7.442 MB / 1.551 GB, free: 8.699 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000616/1.044, allocations: 1.067 MB / 1.552 GB, free: 7.605 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0005006/1.045, allocations: 198.7 kB / 1.552 GB, free: 7.414 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004046/1.045, allocations: 359.3 kB / 1.552 GB, free: 7.062 MB / 1.248 GB Notification: Performance of SimCode: time 2.1e-07/1.045, allocations: 0 / 1.552 GB, free: 7.062 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.194/5.239, allocations: 28.04 MB / 1.58 GB, free: 11.4 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.05/20.29, allocations: 11.86 kB / 1.58 GB, free: 11.39 MB / 1.279 GB (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 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) 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) Reference file matches