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.001707/0.001707, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002229/0.002229, allocations: 217.5 kB / 22.26 MB, free: 5.082 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 8 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.966/2.966, allocations: 476.8 MB / 0.7707 GB, free: 4.305 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",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.002202/0.002202, allocations: 68.92 kB / 1.117 GB, free: 8.992 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4053, allocations: 169.9 MB / 1.283 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.218/0.6233, allocations: 172.1 MB / 1.451 GB, free: 7.113 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03056/0.6538, allocations: 17.75 MB / 1.469 GB, free: 5.305 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002754/0.6566, allocations: 43.62 kB / 1.469 GB, free: 5.262 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00272/0.6593, allocations: 0.5973 MB / 1.469 GB, free: 4.66 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.007629/0.6669, allocations: 1.849 MB / 1.471 GB, free: 2.805 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.005022/0.672, allocations: 1.503 MB / 1.473 GB, free: 1.312 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005445/0.6774, allocations: 2.933 MB / 1.476 GB, free: 14.37 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003561/0.681, allocations: 1.598 MB / 1.477 GB, free: 12.72 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005712/0.6867, allocations: 1.535 MB / 1.479 GB, free: 11.23 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00249/0.6892, allocations: 1.155 MB / 1.48 GB, free: 10.07 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0008313/0.69, allocations: 232 kB / 1.48 GB, free: 9.844 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004487/0.6945, allocations: 1.665 MB / 1.482 GB, free: 8.176 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001339/0.6958, allocations: 0.8216 MB / 1.482 GB, free: 7.352 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002966/0.6988, allocations: 1.286 MB / 1.484 GB, free: 6.059 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.008619/0.7074, allocations: 3.806 MB / 1.487 GB, free: 2.238 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.7074, allocations: 0 / 1.487 GB, free: 2.238 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.502e-06/0.7074, allocations: 0 / 1.487 GB, free: 2.238 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001764/0.7076, allocations: 0 / 1.487 GB, free: 2.238 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.008952/0.7166, allocations: 2.959 MB / 1.49 GB, free: 15.23 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/0.7166, allocations: 8.031 kB / 1.49 GB, free: 15.22 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006608/0.7173, allocations: 252.9 kB / 1.49 GB, free: 14.96 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005157/0.7224, allocations: 0.6344 MB / 1.491 GB, free: 14.33 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006491/0.7289, allocations: 3.366 MB / 1.494 GB, free: 10.93 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/0.7291, allocations: 135.3 kB / 1.494 GB, free: 10.79 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004814/0.7296, allocations: 168 kB / 1.495 GB, free: 10.63 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004821/0.7344, allocations: 1.96 MB / 1.497 GB, free: 8.617 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.436e-05/0.7344, allocations: 0 / 1.497 GB, free: 8.617 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002766/0.7347, allocations: 72 kB / 1.497 GB, free: 8.547 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.853e-05/0.7348, allocations: 40 kB / 1.497 GB, free: 8.508 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004423/0.7392, allocations: 2.117 MB / 1.499 GB, free: 6.387 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.01368/0.7529, allocations: 6.677 MB / 1.505 GB, free: 15.36 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.7566, allocations: 1.744 MB / 1.507 GB, free: 13.62 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001417/0.758, allocations: 0.7222 MB / 1.508 GB, free: 12.89 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004969/0.7585, allocations: 125.1 kB / 1.508 GB, free: 12.78 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002081/0.7606, allocations: 1.017 MB / 1.509 GB, free: 11.74 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 4.148e-06/0.7606, allocations: 0 / 1.509 GB, free: 11.74 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.00751/0.7681, allocations: 2.633 MB / 1.511 GB, free: 9.086 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.7682, allocations: 193.2 kB / 1.512 GB, free: 8.855 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005702/0.7739, allocations: 4.105 MB / 1.516 GB, free: 4.746 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002717/0.7742, allocations: 57.7 kB / 1.516 GB, free: 4.684 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009824/0.7752, allocations: 0.9232 MB / 1.516 GB, free: 3.75 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005963/0.7758, allocations: 0.4996 MB / 1.517 GB, free: 3.246 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004797/0.7763, allocations: 238.8 kB / 1.517 GB, free: 3.004 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.7765, allocations: 353.9 kB / 1.518 GB, free: 2.652 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.7777, allocations: 0.5804 MB / 1.518 GB, free: 2.074 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.7792, allocations: 0.8106 MB / 1.519 GB, free: 1.199 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002782/0.782, allocations: 1.337 MB / 1.52 GB, free: 15.85 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.782, allocations: 0 / 1.52 GB, free: 15.85 MB / 1.232 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00445/0.7865, allocations: 1.808 MB / 1.522 GB, free: 14.02 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.7865, allocations: 8.062 kB / 1.522 GB, free: 14.01 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.7865, allocations: 0 / 1.522 GB, free: 14.01 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.7876, allocations: 208.1 kB / 1.522 GB, free: 13.79 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00171/0.7893, allocations: 331.5 kB / 1.523 GB, free: 13.46 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006981/0.7963, allocations: 6.822 MB / 1.529 GB, free: 6.059 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/0.7982, allocations: 165.9 kB / 1.529 GB, free: 5.898 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/0.7985, allocations: 47.97 kB / 1.529 GB, free: 5.852 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.001255/0.7997, allocations: 497.6 kB / 1.53 GB, free: 5.355 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006954/0.8004, allocations: 202.7 kB / 1.53 GB, free: 5.156 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005096/0.8055, allocations: 2.15 MB / 1.532 GB, free: 2.98 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.8055, allocations: 16 kB / 1.532 GB, free: 2.965 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.8055, allocations: 0 / 1.532 GB, free: 2.965 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.8056, allocations: 11.97 kB / 1.532 GB, free: 2.953 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008367/0.8139, allocations: 4.124 MB / 1.536 GB, free: 14.77 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.8139, allocations: 0 / 1.536 GB, free: 14.77 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/0.8155, allocations: 323.6 kB / 1.536 GB, free: 14.45 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009246/0.8164, allocations: 208 kB / 1.537 GB, free: 14.23 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001307/0.8165, allocations: 43.91 kB / 1.537 GB, free: 14.19 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00668/0.8232, allocations: 6.839 MB / 1.543 GB, free: 6.77 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8232, allocations: 8 kB / 1.543 GB, free: 6.762 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004764/0.828, allocations: 2.037 MB / 1.545 GB, free: 4.691 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/0.8293, allocations: 450 kB / 1.546 GB, free: 4.25 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004598/0.8298, allocations: 35.98 kB / 1.546 GB, free: 4.215 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/0.8313, allocations: 107.9 kB / 1.546 GB, free: 4.109 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/0.8316, allocations: 117.1 kB / 1.546 GB, free: 3.992 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/0.8318, allocations: 71.94 kB / 1.546 GB, free: 3.922 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.004132/0.8359, allocations: 3.152 MB / 1.549 GB, free: 0.7773 MB / 1.248 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8359, allocations: 0 / 1.549 GB, free: 0.7773 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002452/0.8384, allocations: 0.6976 MB / 1.55 GB, free: 80 kB / 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.007663/0.846, allocations: 3.233 MB / 1.553 GB, free: 12.98 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00415/0.8502, allocations: 2.02 MB / 1.555 GB, free: 10.9 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.8502, allocations: 0.6562 kB / 1.555 GB, free: 10.9 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002384/0.8526, allocations: 1.375 MB / 1.556 GB, free: 9.457 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/0.8556, allocations: 0.5554 MB / 1.557 GB, free: 8.922 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7163/1.572, allocations: 21.16 MB / 1.578 GB, free: 273.4 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001435/1.573, allocations: 1.539 MB / 1.579 GB, free: 272.7 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001859/1.575, allocations: 0.5354 MB / 1.58 GB, free: 272.6 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.576, allocations: 0.9061 MB / 1.581 GB, free: 272 MB / 1.264 GB Notification: Performance of SimCode: time 1.132e-06/1.576, allocations: 3.312 kB / 1.581 GB, free: 272 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/1.681, allocations: 50.92 MB / 1.63 GB, free: 238.8 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.47/19.15, allocations: 4.469 kB / 1.63 GB, free: 238.8 MB / 1.264 GB " [Timeout remaining time 281] (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: 26.335700057912618]