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.00131/0.00131, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002137/0.002137, allocations: 215.2 kB / 23.03 MB, free: 4.926 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.748/2.748, allocations: 476.8 MB / 0.7715 GB, free: 3.863 MB / 0.6231 GB " [Timeout remaining time 177] 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.00201/0.00201, allocations: 60.73 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.369, allocations: 170 MB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.2042/0.5731, allocations: 148.2 MB / 1.429 GB, free: 5.848 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02718/0.6003, allocations: 16.19 MB / 1.445 GB, free: 5.613 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002389/0.6027, allocations: 43.62 kB / 1.445 GB, free: 5.57 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.002438/0.6051, allocations: 0.5622 MB / 1.445 GB, free: 5.004 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.006888/0.612, allocations: 1.85 MB / 1.447 GB, free: 3.148 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00464/0.6167, allocations: 1.47 MB / 1.448 GB, free: 1.691 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.005102/0.6218, allocations: 2.918 MB / 1.451 GB, free: 14.76 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003409/0.6252, allocations: 1.602 MB / 1.453 GB, free: 13.1 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005668/0.6308, allocations: 1.539 MB / 1.454 GB, free: 11.61 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002461/0.6333, allocations: 1.163 MB / 1.456 GB, free: 10.44 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0009679/0.6343, allocations: 227.9 kB / 1.456 GB, free: 10.21 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00434/0.6386, allocations: 1.482 MB / 1.457 GB, free: 8.73 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.64, allocations: 0.8216 MB / 1.458 GB, free: 7.906 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.002553/0.6425, allocations: 1.05 MB / 1.459 GB, free: 6.852 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.008036/0.6505, allocations: 3.814 MB / 1.463 GB, free: 3.023 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.6505, allocations: 0 / 1.463 GB, free: 3.023 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6506, allocations: 0 / 1.463 GB, free: 3.023 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001525/0.6507, allocations: 0 / 1.463 GB, free: 3.023 MB / 1.154 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.00774/0.6584, allocations: 2.961 MB / 1.466 GB, free: 16 kB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.6585, allocations: 8.031 kB / 1.466 GB, free: 8 kB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.166e-05/0.6586, allocations: 47.44 kB / 1.466 GB, free: 15.96 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006098/0.6592, allocations: 252.8 kB / 1.466 GB, free: 15.7 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005278/0.6645, allocations: 0.6305 MB / 1.467 GB, free: 15.07 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00637/0.6708, allocations: 3.382 MB / 1.47 GB, free: 11.65 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002094/0.6711, allocations: 131.4 kB / 1.47 GB, free: 11.52 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006203/0.6717, allocations: 167.9 kB / 1.47 GB, free: 11.36 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005631/0.6773, allocations: 2.718 MB / 1.473 GB, free: 8.406 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.6773, allocations: 0 / 1.473 GB, free: 8.406 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002307/0.6776, allocations: 76 kB / 1.473 GB, free: 8.332 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-05/0.6776, allocations: 40 kB / 1.473 GB, free: 8.293 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003891/0.6815, allocations: 2.113 MB / 1.475 GB, free: 6.176 MB / 1.17 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.01111/0.6926, allocations: 5.128 MB / 1.48 GB, free: 0.9609 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003425/0.696, allocations: 1.747 MB / 1.482 GB, free: 15.21 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.6974, allocations: 0.7107 MB / 1.482 GB, free: 14.49 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004721/0.6979, allocations: 117.2 kB / 1.482 GB, free: 14.38 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002362/0.7002, allocations: 1.627 MB / 1.484 GB, free: 12.59 MB / 1.186 GB Notification: Performance of pre-optimization done (n=146): time 3.777e-06/0.7002, allocations: 0 / 1.484 GB, free: 12.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=146): time 0.007237/0.7075, allocations: 2.633 MB / 1.487 GB, free: 9.934 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.7076, allocations: 201.2 kB / 1.487 GB, free: 9.695 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00547/0.7131, allocations: 4.102 MB / 1.491 GB, free: 5.59 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0004072/0.7135, allocations: 57.7 kB / 1.491 GB, free: 5.527 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.7145, allocations: 0.9232 MB / 1.492 GB, free: 4.594 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006454/0.7151, allocations: 0.4996 MB / 1.492 GB, free: 4.09 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004595/0.7156, allocations: 238.8 kB / 1.492 GB, free: 3.848 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.7158, allocations: 349.9 kB / 1.493 GB, free: 3.5 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001218/0.717, allocations: 0.5882 MB / 1.493 GB, free: 2.914 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001716/0.7187, allocations: 1.235 MB / 1.495 GB, free: 1.508 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/0.7212, allocations: 1.333 MB / 1.496 GB, free: 172 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/0.7212, allocations: 4 kB / 1.496 GB, free: 168 kB / 1.186 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00465/0.7259, allocations: 1.808 MB / 1.498 GB, free: 14.33 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.7259, allocations: 4 kB / 1.498 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.7259, allocations: 0 / 1.498 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.727, allocations: 216.1 kB / 1.498 GB, free: 14.1 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.7287, allocations: 327.6 kB / 1.498 GB, free: 13.78 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006698/0.7354, allocations: 6.795 MB / 1.505 GB, free: 6.402 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/0.7373, allocations: 168.9 kB / 1.505 GB, free: 6.238 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.7374, allocations: 51.97 kB / 1.505 GB, free: 6.188 MB / 1.201 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.001083/0.7385, allocations: 492.8 kB / 1.506 GB, free: 5.699 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005772/0.7391, allocations: 202.7 kB / 1.506 GB, free: 5.5 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004947/0.744, allocations: 2.158 MB / 1.508 GB, free: 3.312 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.744, allocations: 16 kB / 1.508 GB, free: 3.297 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.7441, allocations: 3.938 kB / 1.508 GB, free: 3.293 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.515e-05/0.7441, allocations: 11.97 kB / 1.508 GB, free: 3.281 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007729/0.7518, allocations: 3.84 MB / 1.512 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.7518, allocations: 0 / 1.512 GB, free: 15.38 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.7533, allocations: 319.6 kB / 1.512 GB, free: 15.06 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009222/0.7543, allocations: 204.1 kB / 1.512 GB, free: 14.85 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.7544, allocations: 43.95 kB / 1.512 GB, free: 14.8 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006615/0.761, allocations: 6.816 MB / 1.519 GB, free: 7.41 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.761, allocations: 32 / 1.519 GB, free: 7.41 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004932/0.7659, allocations: 2.037 MB / 1.521 GB, free: 5.34 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001363/0.7673, allocations: 462.2 kB / 1.521 GB, free: 4.887 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003273/0.7676, allocations: 28 kB / 1.521 GB, free: 4.859 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.769, allocations: 116 kB / 1.521 GB, free: 4.746 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003171/0.7693, allocations: 125.1 kB / 1.521 GB, free: 4.621 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/0.7695, allocations: 63.95 kB / 1.522 GB, free: 4.559 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.003905/0.7734, allocations: 3.156 MB / 1.525 GB, free: 1.41 MB / 1.217 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7734, allocations: 4 kB / 1.525 GB, free: 1.406 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002255/0.7757, allocations: 0.7015 MB / 1.525 GB, free: 0.7031 MB / 1.217 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.007379/0.7831, allocations: 3.265 MB / 1.529 GB, free: 13.61 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004038/0.7871, allocations: 2.012 MB / 1.53 GB, free: 11.54 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/0.7871, allocations: 4.656 kB / 1.53 GB, free: 11.53 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00234/0.7894, allocations: 1.372 MB / 1.532 GB, free: 10.09 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002835/0.7923, allocations: 0.5474 MB / 1.532 GB, free: 9.566 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03611/0.8284, allocations: 21.17 MB / 1.553 GB, free: 4.148 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/0.8296, allocations: 0.9618 MB / 1.554 GB, free: 3.152 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002012/0.8316, allocations: 0.5367 MB / 1.554 GB, free: 2.609 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/0.833, allocations: 0.9053 MB / 1.555 GB, free: 1.703 MB / 1.248 GB Notification: Performance of SimCode: time 1.122e-06/0.833, allocations: 4 kB / 1.555 GB, free: 1.699 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7737/1.607, allocations: 53.02 MB / 1.607 GB, free: 311.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.88/19.49, allocations: 16.36 kB / 1.607 GB, free: 311.7 MB / 1.295 GB " [Timeout remaining time 280] (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.823548741987906]