Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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.001805/0.001805, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 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.002253/0.002253, allocations: 214.5 kB / 23.04 MB, free: 5.074 MB / 14.72 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 1.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.969/2.969, allocations: 476.7 MB / 0.7715 GB, free: 4.219 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 63.11 kB / 1.118 GB, free: 40.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3365, allocations: 170 MB / 1.284 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2328/0.5693, allocations: 172.1 MB / 1.452 GB, free: 14.95 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02699/0.5963, allocations: 17.75 MB / 1.47 GB, free: 13.14 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.5979, allocations: 43.62 kB / 1.47 GB, free: 13.1 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001912/0.5998, allocations: 0.5973 MB / 1.47 GB, free: 12.5 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005781/0.6056, allocations: 1.86 MB / 1.472 GB, free: 10.63 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004373/0.61, allocations: 1.497 MB / 1.473 GB, free: 9.148 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005134/0.6151, allocations: 2.929 MB / 1.476 GB, free: 6.207 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003236/0.6183, allocations: 1.602 MB / 1.478 GB, free: 4.547 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005853/0.6242, allocations: 1.533 MB / 1.479 GB, free: 3.059 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002628/0.6268, allocations: 1.163 MB / 1.48 GB, free: 1.891 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.00091/0.6277, allocations: 224 kB / 1.481 GB, free: 1.672 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004602/0.6323, allocations: 1.669 MB / 1.482 GB, free: 0 / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001373/0.6337, allocations: 0.8178 MB / 1.483 GB, free: 15.18 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.6364, allocations: 1.29 MB / 1.484 GB, free: 13.88 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.007479/0.6439, allocations: 3.798 MB / 1.488 GB, free: 10.07 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.6439, allocations: 3.984 kB / 1.488 GB, free: 10.07 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6439, allocations: 0 / 1.488 GB, free: 10.07 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001364/0.644, allocations: 0 / 1.488 GB, free: 10.07 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.007915/0.652, allocations: 2.966 MB / 1.491 GB, free: 7.055 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.291e-05/0.652, allocations: 12.03 kB / 1.491 GB, free: 7.043 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.386e-05/0.6521, allocations: 43.39 kB / 1.491 GB, free: 7 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000555/0.6526, allocations: 252.8 kB / 1.491 GB, free: 6.742 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004998/0.6576, allocations: 0.6384 MB / 1.492 GB, free: 6.102 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005562/0.6632, allocations: 3.362 MB / 1.495 GB, free: 2.703 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.6633, allocations: 127.4 kB / 1.495 GB, free: 2.578 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004865/0.6638, allocations: 175.9 kB / 1.495 GB, free: 2.406 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004756/0.6686, allocations: 1.953 MB / 1.497 GB, free: 412 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.6686, allocations: 4 kB / 1.497 GB, free: 408 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002529/0.6689, allocations: 72 kB / 1.497 GB, free: 336 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.406e-05/0.6689, allocations: 47.94 kB / 1.497 GB, free: 288 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004412/0.6733, allocations: 2.113 MB / 1.5 GB, free: 14.16 MB / 1.201 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.01258/0.6859, allocations: 6.665 MB / 1.506 GB, free: 7.152 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003834/0.6898, allocations: 1.742 MB / 1.508 GB, free: 5.41 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001475/0.6912, allocations: 0.7185 MB / 1.508 GB, free: 4.688 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005004/0.6917, allocations: 121.2 kB / 1.509 GB, free: 4.57 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002201/0.6939, allocations: 1.021 MB / 1.51 GB, free: 3.527 MB / 1.201 GB Notification: Performance of pre-optimization done (n=146): time 4.157e-06/0.6939, allocations: 0 / 1.51 GB, free: 3.527 MB / 1.201 GB Notification: Performance of matching and sorting (n=146): time 0.0077/0.7016, allocations: 2.629 MB / 1.512 GB, free: 0.8789 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.7018, allocations: 201.2 kB / 1.512 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005735/0.7075, allocations: 4.106 MB / 1.516 GB, free: 12.53 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0004254/0.7079, allocations: 53.7 kB / 1.516 GB, free: 12.47 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001071/0.709, allocations: 0.931 MB / 1.517 GB, free: 11.53 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007761/0.7098, allocations: 0.4918 MB / 1.518 GB, free: 11.04 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006541/0.7104, allocations: 242.8 kB / 1.518 GB, free: 10.79 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.7106, allocations: 349.9 kB / 1.518 GB, free: 10.44 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001446/0.7121, allocations: 0.5843 MB / 1.519 GB, free: 9.859 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.7137, allocations: 0.8086 MB / 1.52 GB, free: 8.984 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.7167, allocations: 1.333 MB / 1.521 GB, free: 7.645 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.7167, allocations: 0 / 1.521 GB, free: 7.645 MB / 1.217 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004833/0.7215, allocations: 1.812 MB / 1.523 GB, free: 5.809 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.383e-05/0.7216, allocations: 8 kB / 1.523 GB, free: 5.801 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.7216, allocations: 0 / 1.523 GB, free: 5.801 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.7227, allocations: 208.1 kB / 1.523 GB, free: 5.582 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.7245, allocations: 327.6 kB / 1.523 GB, free: 5.262 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007294/0.7318, allocations: 6.834 MB / 1.53 GB, free: 13.84 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001993/0.7338, allocations: 163.2 kB / 1.53 GB, free: 13.68 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000311/0.7341, allocations: 51.97 kB / 1.53 GB, free: 13.63 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001484/0.7356, allocations: 481.5 kB / 1.531 GB, free: 13.15 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008326/0.7364, allocations: 206.7 kB / 1.531 GB, free: 12.95 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005592/0.742, allocations: 2.162 MB / 1.533 GB, free: 10.76 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.742, allocations: 15.94 kB / 1.533 GB, free: 10.74 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.742, allocations: 4 kB / 1.533 GB, free: 10.74 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.742, allocations: 7.969 kB / 1.533 GB, free: 10.73 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009571/0.7516, allocations: 4.12 MB / 1.537 GB, free: 6.543 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.7516, allocations: 0 / 1.537 GB, free: 6.543 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.7533, allocations: 327.5 kB / 1.537 GB, free: 6.223 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000984/0.7542, allocations: 192.1 kB / 1.537 GB, free: 6.02 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/0.7544, allocations: 43.95 kB / 1.538 GB, free: 5.977 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007464/0.7619, allocations: 6.843 MB / 1.544 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7619, allocations: 0 / 1.544 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006062/0.768, allocations: 2.045 MB / 1.546 GB, free: 12.48 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/0.7695, allocations: 454 kB / 1.547 GB, free: 12.03 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005388/0.77, allocations: 28 kB / 1.547 GB, free: 12 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/0.7718, allocations: 107.9 kB / 1.547 GB, free: 11.9 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/0.7721, allocations: 125.1 kB / 1.547 GB, free: 11.77 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002233/0.7724, allocations: 67.94 kB / 1.547 GB, free: 11.71 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004563/0.7769, allocations: 3.148 MB / 1.55 GB, free: 8.566 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7769, allocations: 0 / 1.55 GB, free: 8.566 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003025/0.7799, allocations: 0.7092 MB / 1.551 GB, free: 7.855 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008844/0.7888, allocations: 3.229 MB / 1.554 GB, free: 4.773 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004299/0.7931, allocations: 2.02 MB / 1.556 GB, free: 2.688 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/0.7931, allocations: 4.656 kB / 1.556 GB, free: 2.68 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002521/0.7956, allocations: 1.379 MB / 1.557 GB, free: 1.238 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003556/0.7992, allocations: 0.5493 MB / 1.558 GB, free: 0.707 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04081/0.84, allocations: 21.18 MB / 1.578 GB, free: 11.29 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/0.8419, allocations: 1.53 MB / 1.58 GB, free: 9.727 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.002336/0.8442, allocations: 0.5251 MB / 1.58 GB, free: 9.195 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001758/0.846, allocations: 0.9093 MB / 1.581 GB, free: 8.285 MB / 1.279 GB Notification: Performance of SimCode: time 1.152e-06/0.846, allocations: 0 / 1.581 GB, free: 8.285 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.876/1.722, allocations: 50.95 MB / 1.631 GB, free: 307.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.94/19.66, allocations: 7.969 kB / 1.631 GB, free: 307.7 MB / 1.295 GB " [Timeout remaining time 279] (rm -f Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.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: 27.240059685951564]