Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_11_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.001418/0.001418, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 196 kB / 16.53 MB, free: 6.699 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.234/1.234, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.46/2.46, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001715, allocations: 67.53 kB / 0.9087 GB, free: 34.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2304, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6312/0.8616, allocations: 249 MB / 1.307 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01802/0.8797, allocations: 22.28 MB / 1.329 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001417/0.8811, allocations: 56.97 kB / 1.329 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001972/0.8831, allocations: 0.9727 MB / 1.33 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.8862, allocations: 1.472 MB / 1.331 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003663/0.8899, allocations: 1.917 MB / 1.333 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002708/0.8926, allocations: 2.689 MB / 1.336 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.894, allocations: 1.323 MB / 1.337 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.896, allocations: 1.339 MB / 1.338 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007252/0.8967, allocations: 0.9103 MB / 1.339 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.8968, allocations: 113.6 kB / 1.339 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.899, allocations: 1.67 MB / 1.341 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.8992, allocations: 376.3 kB / 1.341 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.8997, allocations: 0.6397 MB / 1.342 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001702/0.9014, allocations: 2.234 MB / 1.344 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.9014, allocations: 2.5 kB / 1.344 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.9014, allocations: 0 / 1.344 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.9014, allocations: 4 kB / 1.344 GB, free: 2.617 MB / 0.9981 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.001459/0.9029, allocations: 1.466 MB / 1.346 GB, free: 17.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.9029, allocations: 8.5 kB / 1.346 GB, free: 17.8 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.903, allocations: 147.2 kB / 1.346 GB, free: 17.77 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008496/0.9039, allocations: 224.8 kB / 1.346 GB, free: 17.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008728/0.9048, allocations: 0.8515 MB / 1.347 GB, free: 17.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.9049, allocations: 184.8 kB / 1.347 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.735e-05/0.905, allocations: 91.22 kB / 1.347 GB, free: 17.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.9061, allocations: 0.9353 MB / 1.348 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.9061, allocations: 0 / 1.348 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.9061, allocations: 34.91 kB / 1.348 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.9062, allocations: 21.88 kB / 1.348 GB, free: 17.11 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008113/0.907, allocations: 0.6313 MB / 1.349 GB, free: 17.1 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.003356/0.9103, allocations: 4.466 MB / 1.353 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.9106, allocations: 194.7 kB / 1.353 GB, free: 14.3 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.9108, allocations: 146.3 kB / 1.353 GB, free: 14.29 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009225/0.9117, allocations: 1.019 MB / 1.354 GB, free: 13.16 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.9117, allocations: 33.09 kB / 1.354 GB, free: 13.12 MB / 1.014 GB Notification: Performance of pre-optimization done (n=24): time 1.262e-06/0.9117, allocations: 3.594 kB / 1.354 GB, free: 13.12 MB / 1.014 GB Notification: Performance of matching and sorting (n=24): time 0.0007704/0.9125, allocations: 465.3 kB / 1.355 GB, free: 13.03 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.9126, allocations: 60.84 kB / 1.355 GB, free: 12.96 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009572/0.9135, allocations: 1.11 MB / 1.356 GB, free: 12.55 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.9136, allocations: 33.11 kB / 1.356 GB, free: 12.51 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.9138, allocations: 0.5076 MB / 1.357 GB, free: 12.11 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.9139, allocations: 83.52 kB / 1.357 GB, free: 12.05 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.914, allocations: 97.94 kB / 1.357 GB, free: 12 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.9141, allocations: 326.2 kB / 1.357 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.9143, allocations: 128.9 kB / 1.357 GB, free: 11.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.9146, allocations: 385.3 kB / 1.358 GB, free: 11.28 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005049/0.9151, allocations: 470.2 kB / 1.358 GB, free: 10.93 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.9151, allocations: 3.188 kB / 1.358 GB, free: 10.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007286/0.9159, allocations: 0.5413 MB / 1.359 GB, free: 10.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.9159, allocations: 9.703 kB / 1.359 GB, free: 10.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.9159, allocations: 9.938 kB / 1.359 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.9159, allocations: 11.16 kB / 1.359 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.9162, allocations: 84.88 kB / 1.359 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.9162, allocations: 10.94 kB / 1.359 GB, free: 10.72 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005262/0.9167, allocations: 98.88 kB / 1.359 GB, free: 10.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.9168, allocations: 25.61 kB / 1.359 GB, free: 10.66 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.0003008/0.9171, allocations: 295 kB / 1.359 GB, free: 10.45 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.9172, allocations: 103.8 kB / 1.359 GB, free: 10.4 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005989/0.9178, allocations: 422.7 kB / 1.36 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.9179, allocations: 2.25 kB / 1.36 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.9179, allocations: 1.594 kB / 1.36 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.9179, allocations: 288 / 1.36 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.9196, allocations: 1.559 MB / 1.361 GB, free: 9.324 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.9197, allocations: 3.031 kB / 1.361 GB, free: 9.324 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.9198, allocations: 43.5 kB / 1.361 GB, free: 9.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.9198, allocations: 9.047 kB / 1.361 GB, free: 9.316 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.9198, allocations: 13.97 kB / 1.361 GB, free: 9.312 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.9198, allocations: 9.203 kB / 1.361 GB, free: 9.312 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.9199, allocations: 7.938 kB / 1.361 GB, free: 9.312 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005682/0.9204, allocations: 0.5768 MB / 1.362 GB, free: 8.875 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.9207, allocations: 240.7 kB / 1.362 GB, free: 8.688 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.9208, allocations: 7.453 kB / 1.362 GB, free: 8.688 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003764/0.9212, allocations: 22.92 kB / 1.362 GB, free: 8.676 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.9213, allocations: 30.3 kB / 1.362 GB, free: 8.668 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.9213, allocations: 15.72 kB / 1.362 GB, free: 8.664 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008339/0.9221, allocations: 0.7803 MB / 1.363 GB, free: 8.34 MB / 1.014 GB Notification: Performance of sort global known variables: time 4.11e-07/0.9221, allocations: 0 / 1.363 GB, free: 8.34 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006318/0.9228, allocations: 282.2 kB / 1.363 GB, free: 8.285 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.001284/0.9241, allocations: 1.34 MB / 1.364 GB, free: 7.262 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004946/0.9246, allocations: 346.8 kB / 1.365 GB, free: 7.164 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.9246, allocations: 1.375 kB / 1.365 GB, free: 7.164 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.9247, allocations: 142.7 kB / 1.365 GB, free: 7.125 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.9267, allocations: 0.5193 MB / 1.365 GB, free: 6.961 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008072/0.9348, allocations: 7.919 MB / 1.373 GB, free: 2.223 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.9354, allocations: 1.072 MB / 1.374 GB, free: 1.48 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005882/0.936, allocations: 195.1 kB / 1.374 GB, free: 1.438 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.9364, allocations: 359.3 kB / 1.375 GB, free: 1.172 MB / 1.014 GB Notification: Performance of SimCode: time 2.21e-07/0.9364, allocations: 0 / 1.375 GB, free: 1.172 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.314/10.25, allocations: 27.76 MB / 1.402 GB, free: 1.992 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.928/20.18, allocations: 8 kB / 1.402 GB, free: 1.984 MB / 1.029 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches