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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008945/0.0008945, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9065/0.9065, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.702/1.702, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 0.9505 GB, free: 3.492 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.411e-05, allocations: 6.281 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.6539/0.6539, allocations: 221.6 MB / 1.167 GB, free: 13.34 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02098/0.6749, allocations: 20.47 MB / 1.187 GB, free: 15.53 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.6771, allocations: 78.56 kB / 1.187 GB, free: 15.48 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.6799, allocations: 1.002 MB / 1.188 GB, free: 14.82 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.00437/0.6843, allocations: 1.556 MB / 1.19 GB, free: 13.91 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.004707/0.689, allocations: 2.053 MB / 1.192 GB, free: 12.86 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.0042/0.6932, allocations: 2.725 MB / 1.194 GB, free: 11.52 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.695, allocations: 0.9604 MB / 1.195 GB, free: 11.02 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003214/0.6982, allocations: 1.775 MB / 1.197 GB, free: 10.21 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.6993, allocations: 0.8225 MB / 1.198 GB, free: 9.934 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0001362/0.6994, allocations: 110.1 kB / 1.198 GB, free: 9.934 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002584/0.702, allocations: 1.436 MB / 1.199 GB, free: 9.398 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0003391/0.7023, allocations: 405.7 kB / 1.2 GB, free: 9.184 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0004902/0.7028, allocations: 441.3 kB / 1.2 GB, free: 9 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.00288/0.7057, allocations: 2.357 MB / 1.202 GB, free: 8.199 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.7057, allocations: 0 / 1.202 GB, free: 8.199 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7057, allocations: 0 / 1.202 GB, free: 8.199 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.7057, allocations: 4 kB / 1.202 GB, free: 8.195 MB / 1.026 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.001787/0.7075, allocations: 1.433 MB / 1.204 GB, free: 7.215 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.7076, allocations: 10.69 kB / 1.204 GB, free: 7.215 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.7077, allocations: 144 kB / 1.204 GB, free: 7.117 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007178/0.7084, allocations: 233.7 kB / 1.204 GB, free: 7.039 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.7095, allocations: 0.8756 MB / 1.205 GB, free: 6.52 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/0.7097, allocations: 291.5 kB / 1.205 GB, free: 6.234 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.822e-05/0.7097, allocations: 89.59 kB / 1.205 GB, free: 6.207 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.7108, allocations: 0.9336 MB / 1.206 GB, free: 5.734 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.7108, allocations: 11.81 kB / 1.206 GB, free: 5.723 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.872e-05/0.7109, allocations: 36.56 kB / 1.206 GB, free: 5.695 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.7109, allocations: 21.75 kB / 1.206 GB, free: 5.695 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007657/0.7116, allocations: 0.6359 MB / 1.207 GB, free: 5.379 MB / 1.026 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.002837/0.7145, allocations: 2.904 MB / 1.21 GB, free: 3.141 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.7148, allocations: 181 kB / 1.21 GB, free: 3.035 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.7149, allocations: 131.3 kB / 1.21 GB, free: 2.969 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/0.7153, allocations: 130.5 kB / 1.21 GB, free: 2.922 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.556e-05/0.7153, allocations: 36.91 kB / 1.21 GB, free: 2.879 MB / 1.026 GB Notification: Performance of pre-optimization done (n=24): time 2.625e-06/0.7153, allocations: 0 / 1.21 GB, free: 2.879 MB / 1.026 GB Notification: Performance of matching and sorting (n=24): time 0.0007459/0.7161, allocations: 480.9 kB / 1.211 GB, free: 2.629 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.7161, allocations: 58.31 kB / 1.211 GB, free: 2.562 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.7171, allocations: 1.143 MB / 1.212 GB, free: 1.934 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.7171, allocations: 28.64 kB / 1.212 GB, free: 1.902 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003152/0.7175, allocations: 0.5208 MB / 1.212 GB, free: 1.441 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.7175, allocations: 92.62 kB / 1.212 GB, free: 1.363 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.7176, allocations: 93.58 kB / 1.212 GB, free: 1.305 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.7177, allocations: 325.1 kB / 1.213 GB, free: 0.9844 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000154/0.7179, allocations: 127.6 kB / 1.213 GB, free: 0.9258 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.7183, allocations: 0.7296 MB / 1.214 GB, free: 112 kB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006707/0.7189, allocations: 463.4 kB / 1.214 GB, free: 15.72 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.7189, allocations: 2.625 kB / 1.214 GB, free: 15.72 MB / 1.042 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000592/0.7195, allocations: 0.5528 MB / 1.215 GB, free: 15.41 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.7195, allocations: 8.219 kB / 1.215 GB, free: 15.41 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.7195, allocations: 8.781 kB / 1.215 GB, free: 15.41 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.7196, allocations: 18.62 kB / 1.215 GB, free: 15.41 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.7198, allocations: 90.41 kB / 1.215 GB, free: 15.38 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.7198, allocations: 14.45 kB / 1.215 GB, free: 15.38 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.7202, allocations: 96.64 kB / 1.215 GB, free: 15.31 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.7202, allocations: 25.44 kB / 1.215 GB, free: 15.31 MB / 1.042 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.0002702/0.7205, allocations: 289.3 kB / 1.215 GB, free: 15.09 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.519e-05/0.7206, allocations: 114.2 kB / 1.215 GB, free: 15.02 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.7211, allocations: 437.4 kB / 1.216 GB, free: 14.75 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.7211, allocations: 2.75 kB / 1.216 GB, free: 14.75 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7211, allocations: 3.938 kB / 1.216 GB, free: 14.74 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.7211, allocations: 2.219 kB / 1.216 GB, free: 14.74 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/0.7225, allocations: 1.447 MB / 1.217 GB, free: 13.68 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.7225, allocations: 2.781 kB / 1.217 GB, free: 13.68 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.954e-05/0.7226, allocations: 39.95 kB / 1.217 GB, free: 13.67 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.722e-06/0.7226, allocations: 8.062 kB / 1.217 GB, free: 13.67 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.7227, allocations: 9.188 kB / 1.217 GB, free: 13.67 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.7227, allocations: 17.42 kB / 1.217 GB, free: 13.66 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.7227, allocations: 9.594 kB / 1.217 GB, free: 13.65 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.7231, allocations: 0.578 MB / 1.218 GB, free: 13.19 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.7233, allocations: 164.6 kB / 1.218 GB, free: 13.07 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.883e-05/0.7234, allocations: 15.42 kB / 1.218 GB, free: 13.06 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.7236, allocations: 17.7 kB / 1.218 GB, free: 13.05 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.526e-05/0.7236, allocations: 30.62 kB / 1.218 GB, free: 13.04 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.7237, allocations: 25.39 kB / 1.218 GB, free: 13.02 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0006907/0.7243, allocations: 0.7926 MB / 1.219 GB, free: 12.58 MB / 1.042 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7243, allocations: 2.562 kB / 1.219 GB, free: 12.58 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0006873/0.725, allocations: 286.4 kB / 1.219 GB, free: 12.52 MB / 1.042 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.0009669/0.726, allocations: 1.336 MB / 1.22 GB, free: 11.43 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0004221/0.7264, allocations: 334.5 kB / 1.221 GB, free: 11.27 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7264, allocations: 2.812 kB / 1.221 GB, free: 11.27 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.7266, allocations: 138 kB / 1.221 GB, free: 11.2 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.7279, allocations: 0.5166 MB / 1.221 GB, free: 10.94 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007378/0.7353, allocations: 7.543 MB / 1.229 GB, free: 6.09 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.7356, allocations: 490.6 kB / 1.229 GB, free: 5.801 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0005608/0.7362, allocations: 196.7 kB / 1.229 GB, free: 5.715 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.7365, allocations: 371 kB / 1.23 GB, free: 5.41 MB / 1.042 GB Notification: Performance of SimCode: time 1.082e-06/0.7365, allocations: 0 / 1.23 GB, free: 5.41 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04635/0.7829, allocations: 31.01 MB / 1.26 GB, free: 12.14 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/8.398, allocations: 15.88 kB / 1.26 GB, free: 12.13 MB / 1.073 GB " [Timeout remaining time 292] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.553157851099968]