Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_10_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.004879/0.004879, allocations: 101.1 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.001117/0.001117, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.501/2.501, allocations: 437 MB / 0.7105 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 60.08 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2743, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.8571/1.132, allocations: 249 MB / 1.409 GB, free: 5.891 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.04166/1.173, allocations: 22.27 MB / 1.431 GB, free: 3.836 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002356/1.176, allocations: 53.12 kB / 1.431 GB, free: 3.816 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0043/1.18, allocations: 0.9859 MB / 1.432 GB, free: 2.957 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006688/1.187, allocations: 1.531 MB / 1.434 GB, free: 1.754 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.007932/1.195, allocations: 1.95 MB / 1.435 GB, free: 296 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.005834/1.201, allocations: 2.705 MB / 1.438 GB, free: 14.24 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003016/1.204, allocations: 1.331 MB / 1.439 GB, free: 12.88 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004343/1.208, allocations: 1.355 MB / 1.441 GB, free: 11.52 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002479/1.21, allocations: 0.9144 MB / 1.442 GB, free: 10.6 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0004565/1.211, allocations: 108 kB / 1.442 GB, free: 10.5 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005783/1.217, allocations: 1.691 MB / 1.443 GB, free: 8.801 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0007907/1.218, allocations: 382.8 kB / 1.444 GB, free: 8.426 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001504/1.219, allocations: 0.6338 MB / 1.444 GB, free: 7.789 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005386/1.225, allocations: 2.274 MB / 1.447 GB, free: 5.508 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.225, allocations: 0 / 1.447 GB, free: 5.508 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.703e-06/1.225, allocations: 0 / 1.447 GB, free: 5.508 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.944e-05/1.225, allocations: 0 / 1.447 GB, free: 5.508 MB / 1.107 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.003406/1.228, allocations: 1.476 MB / 1.448 GB, free: 3.98 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.692e-05/1.228, allocations: 12.03 kB / 1.448 GB, free: 3.969 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002879/1.228, allocations: 139.5 kB / 1.448 GB, free: 3.824 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001929/1.23, allocations: 230.4 kB / 1.448 GB, free: 3.598 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002409/1.233, allocations: 0.9116 MB / 1.449 GB, free: 2.641 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/1.233, allocations: 188.7 kB / 1.449 GB, free: 2.434 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/1.233, allocations: 95.94 kB / 1.45 GB, free: 2.34 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/1.236, allocations: 0.9246 MB / 1.45 GB, free: 1.379 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/1.236, allocations: 4 kB / 1.45 GB, free: 1.375 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/1.236, allocations: 36 kB / 1.45 GB, free: 1.34 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/1.236, allocations: 23.94 kB / 1.451 GB, free: 1.316 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/1.238, allocations: 0.6363 MB / 1.451 GB, free: 0.6836 MB / 1.107 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.006884/1.245, allocations: 4.431 MB / 1.455 GB, free: 11.86 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005434/1.245, allocations: 182.7 kB / 1.456 GB, free: 11.67 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/1.246, allocations: 147.7 kB / 1.456 GB, free: 11.52 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001338/1.247, allocations: 1.017 MB / 1.457 GB, free: 10.29 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.709e-05/1.247, allocations: 42.56 kB / 1.457 GB, free: 10.23 MB / 1.123 GB Notification: Performance of pre-optimization done (n=24): time 3.166e-06/1.247, allocations: 0 / 1.457 GB, free: 10.23 MB / 1.123 GB Notification: Performance of matching and sorting (n=24): time 0.001638/1.249, allocations: 471.9 kB / 1.457 GB, free: 9.766 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/1.249, allocations: 51.41 kB / 1.457 GB, free: 9.703 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002201/1.251, allocations: 1.11 MB / 1.458 GB, free: 8.578 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/1.251, allocations: 41.64 kB / 1.458 GB, free: 8.531 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006052/1.252, allocations: 0.5079 MB / 1.459 GB, free: 8.02 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/1.252, allocations: 86.75 kB / 1.459 GB, free: 7.934 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/1.252, allocations: 94.03 kB / 1.459 GB, free: 7.836 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.252, allocations: 322 kB / 1.459 GB, free: 7.516 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/1.253, allocations: 128.8 kB / 1.46 GB, free: 7.387 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006494/1.253, allocations: 387.1 kB / 1.46 GB, free: 6.898 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008751/1.254, allocations: 471.5 kB / 1.46 GB, free: 6.352 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.254, allocations: 0 / 1.46 GB, free: 6.352 MB / 1.123 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001466/1.256, allocations: 0.5351 MB / 1.461 GB, free: 5.809 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/1.256, allocations: 11.94 kB / 1.461 GB, free: 5.797 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/1.256, allocations: 8.688 kB / 1.461 GB, free: 5.789 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/1.256, allocations: 8.047 kB / 1.461 GB, free: 5.781 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/1.256, allocations: 95.83 kB / 1.461 GB, free: 5.688 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/1.256, allocations: 19.86 kB / 1.461 GB, free: 5.668 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/1.257, allocations: 98.94 kB / 1.461 GB, free: 5.57 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.492e-05/1.257, allocations: 24 kB / 1.461 GB, free: 5.547 MB / 1.123 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.0005669/1.258, allocations: 281.6 kB / 1.461 GB, free: 5.262 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002589/1.258, allocations: 106.6 kB / 1.462 GB, free: 5.156 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001076/1.259, allocations: 419.7 kB / 1.462 GB, free: 4.734 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/1.259, allocations: 4 kB / 1.462 GB, free: 4.73 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.259, allocations: 0 / 1.462 GB, free: 4.73 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/1.259, allocations: 0 / 1.462 GB, free: 4.73 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002999/1.262, allocations: 1.558 MB / 1.463 GB, free: 3.062 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/1.262, allocations: 8 kB / 1.463 GB, free: 3.055 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/1.263, allocations: 47.84 kB / 1.463 GB, free: 3.008 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/1.263, allocations: 4 kB / 1.463 GB, free: 3.004 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/1.263, allocations: 12 kB / 1.463 GB, free: 2.992 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.263, allocations: 4.562 kB / 1.463 GB, free: 2.988 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/1.263, allocations: 11.94 kB / 1.464 GB, free: 2.977 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/1.263, allocations: 0.5714 MB / 1.464 GB, free: 2.336 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/1.264, allocations: 231.7 kB / 1.464 GB, free: 2.09 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/1.264, allocations: 12 kB / 1.464 GB, free: 2.078 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/1.264, allocations: 20.05 kB / 1.464 GB, free: 2.059 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/1.264, allocations: 35.84 kB / 1.464 GB, free: 2.023 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/1.264, allocations: 12 kB / 1.464 GB, free: 2.012 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001057/1.265, allocations: 0.7783 MB / 1.465 GB, free: 1.227 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.3e-07/1.266, allocations: 0 / 1.465 GB, free: 1.227 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009062/1.266, allocations: 283.5 kB / 1.465 GB, free: 0.9492 MB / 1.123 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.001495/1.268, allocations: 1.352 MB / 1.467 GB, free: 15.52 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0006609/1.269, allocations: 335.9 kB / 1.467 GB, free: 15.2 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.269, allocations: 0 / 1.467 GB, free: 15.2 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/1.269, allocations: 145.2 kB / 1.467 GB, free: 15.05 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/1.271, allocations: 0.5212 MB / 1.468 GB, free: 14.55 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/1.281, allocations: 7.4 MB / 1.475 GB, free: 6.742 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007777/1.282, allocations: 1.063 MB / 1.476 GB, free: 5.652 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0007532/1.283, allocations: 195.1 kB / 1.476 GB, free: 5.465 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000488/1.283, allocations: 363.3 kB / 1.476 GB, free: 5.109 MB / 1.139 GB Notification: Performance of SimCode: time 7.51e-07/1.283, allocations: 0 / 1.476 GB, free: 5.109 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05376/1.337, allocations: 28.04 MB / 1.504 GB, free: 9.461 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.722/11.06, allocations: 14.09 kB / 1.504 GB, free: 9.449 MB / 1.17 GB (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches