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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001796/0.001796, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001807/0.001807, allocations: 196.2 kB / 16.14 MB, free: 6.711 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.267/1.267, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.013/2.013, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4499, allocations: 140.4 MB / 0.949 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.1994/0.6494, allocations: 246.7 MB / 1.19 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02118/0.6706, allocations: 22.29 MB / 1.212 GB, free: 4.203 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008299/0.6714, allocations: 47.69 kB / 1.212 GB, free: 4.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001789/0.6733, allocations: 0.7885 MB / 1.213 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.6757, allocations: 1.392 MB / 1.214 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.6789, allocations: 1.758 MB / 1.216 GB, free: 216 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002664/0.6816, allocations: 3.526 MB / 1.219 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.6828, allocations: 1.154 MB / 1.22 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.6844, allocations: 1.202 MB / 1.221 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008777/0.6853, allocations: 0.9337 MB / 1.222 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.6854, allocations: 68 kB / 1.222 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.6879, allocations: 1.905 MB / 1.224 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.6882, allocations: 330.9 kB / 1.224 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.6887, allocations: 0.5986 MB / 1.225 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.6908, allocations: 2.302 MB / 1.227 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6908, allocations: 0 / 1.227 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of FrontEnd: time 7.32e-07/0.6908, allocations: 3.938 kB / 1.227 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.928e-06/0.6908, allocations: 0 / 1.227 GB, free: 4.121 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.001661/0.6925, allocations: 1.464 MB / 1.229 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.6925, allocations: 12.03 kB / 1.229 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.6927, allocations: 143.5 kB / 1.229 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009251/0.6936, allocations: 234.3 kB / 1.229 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000998/0.6946, allocations: 0.8531 MB / 1.23 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.6948, allocations: 184.8 kB / 1.23 GB, free: 1.113 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.947e-05/0.6949, allocations: 95.94 kB / 1.23 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.6961, allocations: 0.9285 MB / 1.231 GB, free: 56 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.704e-05/0.6962, allocations: 3.984 kB / 1.231 GB, free: 52 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/0.6962, allocations: 36 kB / 1.231 GB, free: 16 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.6963, allocations: 20.05 kB / 1.231 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.6973, allocations: 0.6284 MB / 1.232 GB, free: 15.37 MB / 0.9981 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.003727/0.701, allocations: 4.443 MB / 1.236 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003394/0.7014, allocations: 198.6 kB / 1.236 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.7016, allocations: 144.8 kB / 1.236 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008408/0.7024, allocations: 1.021 MB / 1.237 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.7024, allocations: 34.5 kB / 1.238 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=24): time 1.223e-06/0.7024, allocations: 0 / 1.238 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=24): time 0.0008755/0.7033, allocations: 475 kB / 1.238 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.7034, allocations: 55.41 kB / 1.238 GB, free: 8.359 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.7045, allocations: 1.11 MB / 1.239 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.477e-05/0.7046, allocations: 29.7 kB / 1.239 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.7049, allocations: 0.5117 MB / 1.24 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.293e-05/0.705, allocations: 82.84 kB / 1.24 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.7051, allocations: 105.9 kB / 1.24 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.564e-05/0.7052, allocations: 318 kB / 1.24 GB, free: 6.176 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.7054, allocations: 128.8 kB / 1.24 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003693/0.7058, allocations: 387.1 kB / 1.241 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/0.7063, allocations: 467.5 kB / 1.241 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.7063, allocations: 4 kB / 1.241 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008353/0.7072, allocations: 0.531 MB / 1.242 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.7072, allocations: 16.61 kB / 1.242 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7072, allocations: 4 kB / 1.242 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.7072, allocations: 15.94 kB / 1.242 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003094/0.7075, allocations: 87.91 kB / 1.242 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.7076, allocations: 15.92 kB / 1.242 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006158/0.7082, allocations: 119 kB / 1.242 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.7082, allocations: 27.98 kB / 1.242 GB, free: 4.195 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.0003324/0.7086, allocations: 285.6 kB / 1.242 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.7087, allocations: 110.6 kB / 1.242 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005959/0.7093, allocations: 427.6 kB / 1.243 GB, free: 3.371 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.7093, allocations: 3.984 kB / 1.243 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.7093, allocations: 0 / 1.243 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7093, allocations: 4 kB / 1.243 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.7111, allocations: 1.558 MB / 1.244 GB, free: 1.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.7112, allocations: 8.5 kB / 1.244 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001542/0.7113, allocations: 51.91 kB / 1.244 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.7113, allocations: 4 kB / 1.244 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.7114, allocations: 8 kB / 1.244 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.7114, allocations: 4 kB / 1.244 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.7114, allocations: 12.22 kB / 1.244 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005148/0.7119, allocations: 0.5621 MB / 1.245 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002433/0.7121, allocations: 243.6 kB / 1.245 GB, free: 0.7188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.7123, allocations: 15.94 kB / 1.245 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.7127, allocations: 27.97 kB / 1.245 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.7127, allocations: 35.8 kB / 1.245 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.221e-05/0.7128, allocations: 19.98 kB / 1.245 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.3102/1.023, allocations: 0.7713 MB / 1.246 GB, free: 288.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.21e-07/1.023, allocations: 0 / 1.246 GB, free: 288.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000979/1.024, allocations: 283.3 kB / 1.246 GB, free: 288.6 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.001136/1.025, allocations: 1.339 MB / 1.247 GB, free: 287.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005069/1.026, allocations: 328.7 kB / 1.248 GB, free: 287.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.026, allocations: 1.031 kB / 1.248 GB, free: 287.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/1.026, allocations: 142.3 kB / 1.248 GB, free: 287.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/1.028, allocations: 493.4 kB / 1.248 GB, free: 287.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008813/1.037, allocations: 8.2 MB / 1.256 GB, free: 282.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/1.037, allocations: 1.064 MB / 1.257 GB, free: 282 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007069/1.038, allocations: 199.6 kB / 1.258 GB, free: 282 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/1.038, allocations: 364.9 kB / 1.258 GB, free: 281.7 MB / 0.9981 GB Notification: Performance of SimCode: time 3.81e-07/1.038, allocations: 0 / 1.258 GB, free: 281.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.463/3.501, allocations: 26.98 MB / 1.284 GB, free: 268.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/3.502, allocations: 267.9 kB / 1.285 GB, free: 268.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/6.206, allocations: 6.188 kB / 1.285 GB, free: 268.2 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