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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001018/0.001018, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007581/0.007581, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.263/1.263, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.508/2.508, allocations: 462.7 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 12.62 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2604, allocations: 159.6 MB / 1.059 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7543/1.015, allocations: 243.4 MB / 1.296 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01979/1.035, allocations: 21.99 MB / 1.318 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/1.036, allocations: 47.62 kB / 1.318 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/1.038, allocations: 0.7862 MB / 1.319 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002921/1.041, allocations: 1.391 MB / 1.32 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003907/1.045, allocations: 1.777 MB / 1.322 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003217/1.048, allocations: 3.529 MB / 1.325 GB, free: 1.598 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/1.049, allocations: 1.089 MB / 1.326 GB, free: 1.387 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001863/1.051, allocations: 1.121 MB / 1.327 GB, free: 1.375 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008772/1.052, allocations: 0.8589 MB / 1.328 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.059e-05/1.052, allocations: 34.06 kB / 1.328 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002912/1.055, allocations: 1.869 MB / 1.33 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000256/1.055, allocations: 290.3 kB / 1.33 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005266/1.056, allocations: 0.5638 MB / 1.331 GB, free: 17.3 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001926/1.058, allocations: 2.26 MB / 1.333 GB, free: 17.18 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/1.058, allocations: 0 / 1.333 GB, free: 17.18 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.382e-06/1.058, allocations: 0 / 1.333 GB, free: 17.18 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.188e-05/1.058, allocations: 0 / 1.333 GB, free: 17.18 MB / 1.014 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.001326/1.059, allocations: 1.223 MB / 1.334 GB, free: 16.41 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/1.059, allocations: 16.19 kB / 1.334 GB, free: 16.4 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/1.059, allocations: 144.7 kB / 1.335 GB, free: 16.36 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009099/1.06, allocations: 228.5 kB / 1.335 GB, free: 16.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009221/1.061, allocations: 0.8449 MB / 1.336 GB, free: 15.97 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/1.061, allocations: 187.4 kB / 1.336 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-05/1.061, allocations: 97.38 kB / 1.336 GB, free: 15.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/1.063, allocations: 0.9345 MB / 1.337 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/1.063, allocations: 2.625 kB / 1.337 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/1.063, allocations: 34.56 kB / 1.337 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/1.063, allocations: 24.94 kB / 1.337 GB, free: 15.7 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008706/1.064, allocations: 0.6312 MB / 1.337 GB, free: 15.69 MB / 1.014 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.003341/1.067, allocations: 4.442 MB / 1.342 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/1.067, allocations: 186.8 kB / 1.342 GB, free: 12.9 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001628/1.067, allocations: 142.4 kB / 1.342 GB, free: 12.89 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008176/1.068, allocations: 1.033 MB / 1.343 GB, free: 11.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/1.068, allocations: 35.78 kB / 1.343 GB, free: 11.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/1.068, allocations: 0 / 1.343 GB, free: 11.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.0008533/1.069, allocations: 464 kB / 1.344 GB, free: 11.63 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/1.069, allocations: 56.94 kB / 1.344 GB, free: 11.57 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/1.07, allocations: 1.109 MB / 1.345 GB, free: 11.41 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/1.07, allocations: 32.61 kB / 1.345 GB, free: 11.38 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/1.071, allocations: 0.5154 MB / 1.345 GB, free: 11.19 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.478e-05/1.071, allocations: 84.84 kB / 1.345 GB, free: 11.14 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/1.071, allocations: 37.28 kB / 1.345 GB, free: 11.12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/1.071, allocations: 321.1 kB / 1.346 GB, free: 10.82 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/1.071, allocations: 127.1 kB / 1.346 GB, free: 10.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/1.072, allocations: 388.8 kB / 1.346 GB, free: 10.53 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004881/1.072, allocations: 466.9 kB / 1.347 GB, free: 10.29 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.072, allocations: 0 / 1.347 GB, free: 10.29 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007439/1.073, allocations: 0.5417 MB / 1.347 GB, free: 10.2 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/1.073, allocations: 9.203 kB / 1.347 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/1.073, allocations: 5.812 kB / 1.347 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.073, allocations: 8.719 kB / 1.347 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/1.073, allocations: 90.53 kB / 1.347 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/1.073, allocations: 15.5 kB / 1.347 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006869/1.074, allocations: 130.3 kB / 1.347 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/1.074, allocations: 25.08 kB / 1.347 GB, free: 10.14 MB / 1.014 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.0003101/1.074, allocations: 287.1 kB / 1.348 GB, free: 10.03 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/1.074, allocations: 103.9 kB / 1.348 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006218/1.075, allocations: 429 kB / 1.348 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.075, allocations: 8.953 kB / 1.348 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/1.075, allocations: 0.75 kB / 1.348 GB, free: 9.895 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/1.075, allocations: 5.359 kB / 1.348 GB, free: 9.891 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001731/1.077, allocations: 1.553 MB / 1.35 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/1.077, allocations: 5.875 kB / 1.35 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/1.077, allocations: 43.94 kB / 1.35 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/1.077, allocations: 8.719 kB / 1.35 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/1.077, allocations: 7.031 kB / 1.35 GB, free: 9.418 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/1.077, allocations: 9.094 kB / 1.35 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.077, allocations: 11.8 kB / 1.35 GB, free: 9.414 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/1.077, allocations: 0.5723 MB / 1.35 GB, free: 9.07 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/1.078, allocations: 250.9 kB / 1.351 GB, free: 8.914 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.953e-05/1.078, allocations: 11.66 kB / 1.351 GB, free: 8.914 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/1.078, allocations: 36.17 kB / 1.351 GB, free: 8.906 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.701e-05/1.078, allocations: 27.31 kB / 1.351 GB, free: 8.902 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-05/1.078, allocations: 14.97 kB / 1.351 GB, free: 8.902 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007557/1.079, allocations: 0.7788 MB / 1.351 GB, free: 8.789 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/1.079, allocations: 0 / 1.351 GB, free: 8.789 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006863/1.08, allocations: 287.6 kB / 1.352 GB, free: 8.75 MB / 1.014 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.00108/1.081, allocations: 1.345 MB / 1.353 GB, free: 7.836 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00044/1.081, allocations: 326.9 kB / 1.353 GB, free: 7.836 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.081, allocations: 3.531 kB / 1.353 GB, free: 7.836 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/1.081, allocations: 139.3 kB / 1.353 GB, free: 7.832 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/1.084, allocations: 0.5269 MB / 1.354 GB, free: 7.781 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00849/1.093, allocations: 8.221 MB / 1.362 GB, free: 4.023 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/1.093, allocations: 1.066 MB / 1.363 GB, free: 3.305 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006427/1.094, allocations: 192.6 kB / 1.363 GB, free: 3.262 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/1.094, allocations: 373.1 kB / 1.364 GB, free: 3.254 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/1.094, allocations: 4 kB / 1.364 GB, free: 3.25 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.181/2.275, allocations: 29.4 MB / 1.392 GB, free: 6.469 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/2.275, allocations: 270.6 kB / 1.393 GB, free: 6.109 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/4.802, allocations: 2.812 kB / 1.393 GB, free: 6.109 MB / 1.029 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=50 --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