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.00726/0.00726, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.002138/0.002138, allocations: 201.9 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.363 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.289/2.289, allocations: 437.1 MB / 0.7106 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 63.91 kB / 1.018 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2326, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6693/0.902, allocations: 249 MB / 1.409 GB, free: 5.934 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02227/0.9243, allocations: 22.27 MB / 1.431 GB, free: 3.879 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009525/0.9252, allocations: 58.72 kB / 1.431 GB, free: 3.855 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002017/0.9273, allocations: 0.9745 MB / 1.432 GB, free: 3 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002679/0.93, allocations: 1.471 MB / 1.434 GB, free: 1.832 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003592/0.9336, allocations: 1.931 MB / 1.435 GB, free: 388 kB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002462/0.936, allocations: 2.698 MB / 1.438 GB, free: 14.39 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.9375, allocations: 1.32 MB / 1.439 GB, free: 13.04 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.9394, allocations: 1.347 MB / 1.441 GB, free: 11.68 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.9404, allocations: 0.9105 MB / 1.442 GB, free: 10.77 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.9406, allocations: 108 kB / 1.442 GB, free: 10.66 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002539/0.9431, allocations: 1.676 MB / 1.443 GB, free: 8.984 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.9435, allocations: 382.9 kB / 1.444 GB, free: 8.609 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0005567/0.944, allocations: 0.6337 MB / 1.444 GB, free: 7.973 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002405/0.9464, allocations: 2.281 MB / 1.446 GB, free: 5.684 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.9465, allocations: 3.938 kB / 1.446 GB, free: 5.68 MB / 1.107 GB Notification: Performance of FrontEnd: time 9.92e-07/0.9465, allocations: 0 / 1.446 GB, free: 5.68 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.299e-05/0.9465, allocations: 0 / 1.446 GB, free: 5.68 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.001754/0.9482, allocations: 1.509 MB / 1.448 GB, free: 4.117 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.9483, allocations: 12.03 kB / 1.448 GB, free: 4.105 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001457/0.9484, allocations: 139.5 kB / 1.448 GB, free: 3.961 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009381/0.9494, allocations: 247 kB / 1.448 GB, free: 3.719 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.9507, allocations: 0.9125 MB / 1.449 GB, free: 2.762 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.9508, allocations: 188.8 kB / 1.449 GB, free: 2.555 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.9509, allocations: 95.94 kB / 1.45 GB, free: 2.461 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.9523, allocations: 0.9207 MB / 1.45 GB, free: 1.504 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.9523, allocations: 7.938 kB / 1.45 GB, free: 1.496 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.298e-05/0.9524, allocations: 40 kB / 1.45 GB, free: 1.457 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/0.9524, allocations: 20 kB / 1.45 GB, free: 1.438 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.9534, allocations: 0.6362 MB / 1.451 GB, free: 0.8047 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.004023/0.9574, allocations: 4.44 MB / 1.455 GB, free: 11.97 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.9578, allocations: 190.7 kB / 1.456 GB, free: 11.77 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.958, allocations: 136.8 kB / 1.456 GB, free: 11.64 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009131/0.9589, allocations: 1.025 MB / 1.457 GB, free: 10.39 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.9589, allocations: 38.5 kB / 1.457 GB, free: 10.34 MB / 1.123 GB Notification: Performance of pre-optimization done (n=24): time 1.253e-06/0.9589, allocations: 0 / 1.457 GB, free: 10.34 MB / 1.123 GB Notification: Performance of matching and sorting (n=24): time 0.0008941/0.9598, allocations: 482.1 kB / 1.457 GB, free: 9.867 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.9599, allocations: 51.41 kB / 1.457 GB, free: 9.805 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.9611, allocations: 1.106 MB / 1.458 GB, free: 8.684 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.9612, allocations: 33.7 kB / 1.458 GB, free: 8.645 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003916/0.9616, allocations: 0.5165 MB / 1.459 GB, free: 8.125 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.9616, allocations: 95.19 kB / 1.459 GB, free: 8.031 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.9618, allocations: 98.03 kB / 1.459 GB, free: 7.93 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.9619, allocations: 318 kB / 1.459 GB, free: 7.613 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.9621, allocations: 128.8 kB / 1.46 GB, free: 7.484 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.9626, allocations: 391.1 kB / 1.46 GB, free: 6.992 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/0.9631, allocations: 471.5 kB / 1.46 GB, free: 6.445 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.9632, allocations: 0 / 1.46 GB, free: 6.445 MB / 1.123 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008111/0.964, allocations: 0.5434 MB / 1.461 GB, free: 5.895 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.964, allocations: 12.62 kB / 1.461 GB, free: 5.883 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.964, allocations: 12.05 kB / 1.461 GB, free: 5.871 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.964, allocations: 11.98 kB / 1.461 GB, free: 5.859 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.9644, allocations: 87.84 kB / 1.461 GB, free: 5.773 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/0.9644, allocations: 14.8 kB / 1.461 GB, free: 5.762 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005063/0.9649, allocations: 99.27 kB / 1.461 GB, free: 5.664 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.547e-05/0.9649, allocations: 24 kB / 1.461 GB, free: 5.641 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.0003153/0.9653, allocations: 285.6 kB / 1.461 GB, free: 5.352 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.9654, allocations: 115.2 kB / 1.462 GB, free: 5.238 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006501/0.966, allocations: 426.1 kB / 1.462 GB, free: 4.816 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.9661, allocations: 4 kB / 1.462 GB, free: 4.812 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.9661, allocations: 3.938 kB / 1.462 GB, free: 4.809 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.9661, allocations: 0 / 1.462 GB, free: 4.809 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001912/0.968, allocations: 1.546 MB / 1.463 GB, free: 3.152 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.968, allocations: 4 kB / 1.463 GB, free: 3.148 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.9682, allocations: 51.84 kB / 1.463 GB, free: 3.098 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.9682, allocations: 4.562 kB / 1.463 GB, free: 3.094 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.9682, allocations: 8 kB / 1.463 GB, free: 3.086 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.9682, allocations: 15.88 kB / 1.464 GB, free: 3.07 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.9682, allocations: 4 kB / 1.464 GB, free: 3.066 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005917/0.9688, allocations: 0.5859 MB / 1.464 GB, free: 2.41 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.9691, allocations: 240.3 kB / 1.464 GB, free: 2.156 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.9692, allocations: 12 kB / 1.464 GB, free: 2.145 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.9696, allocations: 11.98 kB / 1.464 GB, free: 2.133 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.9696, allocations: 35.84 kB / 1.464 GB, free: 2.098 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.9697, allocations: 16 kB / 1.464 GB, free: 2.082 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009579/0.9706, allocations: 0.7783 MB / 1.465 GB, free: 1.297 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9706, allocations: 0 / 1.465 GB, free: 1.297 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0006689/0.9713, allocations: 287.4 kB / 1.465 GB, free: 1.016 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.001378/0.9727, allocations: 1.358 MB / 1.467 GB, free: 15.58 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005422/0.9733, allocations: 345.2 kB / 1.467 GB, free: 15.25 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9733, allocations: 0 / 1.467 GB, free: 15.25 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0001897/0.9735, allocations: 138.2 kB / 1.467 GB, free: 15.11 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/0.9755, allocations: 0.515 MB / 1.468 GB, free: 14.61 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008557/0.9841, allocations: 7.425 MB / 1.475 GB, free: 6.773 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/0.9848, allocations: 1.063 MB / 1.476 GB, free: 5.684 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0005161/0.9853, allocations: 198.4 kB / 1.476 GB, free: 5.492 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/0.9857, allocations: 359.3 kB / 1.477 GB, free: 5.141 MB / 1.139 GB Notification: Performance of SimCode: time 2.2e-07/0.9857, allocations: 0 / 1.477 GB, free: 5.141 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.784/2.77, allocations: 28.04 MB / 1.504 GB, free: 9.488 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/17.78, allocations: 7.688 kB / 1.504 GB, free: 9.48 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=400 --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