Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001265/0.001265, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001365/0.001365, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.39/1.39, allocations: 230.6 MB / 252.8 MB, free: 9.129 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.084/3.084, allocations: 0.49 GB / 0.7916 GB, free: 33.35 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_12_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.001981/0.001981, allocations: 69 kB / 1.149 GB, free: 26.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.305, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1987/0.5036, allocations: 172 MB / 1.489 GB, free: 6.734 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02329/0.5269, allocations: 17.52 MB / 1.506 GB, free: 5.152 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.5284, allocations: 47.62 kB / 1.506 GB, free: 5.105 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.5302, allocations: 0.5972 MB / 1.506 GB, free: 4.504 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005378/0.5356, allocations: 1.827 MB / 1.508 GB, free: 2.672 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003859/0.5394, allocations: 1.466 MB / 1.51 GB, free: 1.219 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00407/0.5435, allocations: 2.902 MB / 1.513 GB, free: 14.3 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002441/0.5459, allocations: 1.609 MB / 1.514 GB, free: 12.63 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004618/0.5506, allocations: 1.523 MB / 1.516 GB, free: 11.15 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001792/0.5523, allocations: 1.155 MB / 1.517 GB, free: 9.992 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004053/0.5528, allocations: 224 kB / 1.517 GB, free: 9.773 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003382/0.5561, allocations: 1.634 MB / 1.519 GB, free: 8.137 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0007873/0.5569, allocations: 0.81 MB / 1.519 GB, free: 7.324 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/0.5583, allocations: 1.286 MB / 1.521 GB, free: 6.031 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005347/0.5637, allocations: 3.806 MB / 1.524 GB, free: 2.211 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.5637, allocations: 4 kB / 1.524 GB, free: 2.207 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.395e-06/0.5637, allocations: 0 / 1.524 GB, free: 2.207 MB / 1.217 GB Notification: Performance of Transformations before backend: time 6.335e-05/0.5638, allocations: 0 / 1.524 GB, free: 2.207 MB / 1.217 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.005538/0.5693, allocations: 3.036 MB / 1.527 GB, free: 15.11 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.5693, allocations: 15.92 kB / 1.527 GB, free: 15.09 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003023/0.5696, allocations: 260.9 kB / 1.528 GB, free: 14.82 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004328/0.574, allocations: 0.6305 MB / 1.528 GB, free: 14.19 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004348/0.5783, allocations: 3.458 MB / 1.531 GB, free: 10.68 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001174/0.5784, allocations: 127.4 kB / 1.532 GB, free: 10.56 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/0.5787, allocations: 168 kB / 1.532 GB, free: 10.39 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003511/0.5822, allocations: 1.956 MB / 1.534 GB, free: 8.387 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.5822, allocations: 0 / 1.534 GB, free: 8.387 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.5824, allocations: 72 kB / 1.534 GB, free: 8.316 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/0.5824, allocations: 44 kB / 1.534 GB, free: 8.273 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003708/0.5861, allocations: 2.128 MB / 1.536 GB, free: 6.141 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01014/0.5963, allocations: 6.937 MB / 1.543 GB, free: 14.81 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003482/0.5997, allocations: 2.046 MB / 1.545 GB, free: 12.69 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.6011, allocations: 0.7177 MB / 1.545 GB, free: 11.98 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006069/0.6017, allocations: 433.5 kB / 1.546 GB, free: 11.48 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001818/0.6035, allocations: 1.017 MB / 1.547 GB, free: 10.45 MB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 2.796e-06/0.6035, allocations: 0 / 1.547 GB, free: 10.45 MB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.007219/0.6107, allocations: 3.005 MB / 1.55 GB, free: 7.328 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.6109, allocations: 201.2 kB / 1.55 GB, free: 7.086 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004774/0.6156, allocations: 4.102 MB / 1.554 GB, free: 2.98 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002246/0.6159, allocations: 61.7 kB / 1.554 GB, free: 2.914 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000822/0.6167, allocations: 0.9155 MB / 1.555 GB, free: 1.988 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004662/0.6171, allocations: 0.4957 MB / 1.555 GB, free: 1.488 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004014/0.6175, allocations: 242.8 kB / 1.556 GB, free: 1.246 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6177, allocations: 349.9 kB / 1.556 GB, free: 0.8984 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001184/0.6189, allocations: 0.5843 MB / 1.556 GB, free: 320 kB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.6203, allocations: 0.8048 MB / 1.557 GB, free: 15.44 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002527/0.6229, allocations: 1.333 MB / 1.559 GB, free: 14.1 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6229, allocations: 0 / 1.559 GB, free: 14.1 MB / 1.264 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004202/0.6271, allocations: 1.816 MB / 1.56 GB, free: 12.26 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.842e-05/0.6271, allocations: 4 kB / 1.56 GB, free: 12.25 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.6271, allocations: 0 / 1.56 GB, free: 12.25 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.6282, allocations: 216.1 kB / 1.561 GB, free: 12.03 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.6298, allocations: 335.6 kB / 1.561 GB, free: 11.7 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00655/0.6363, allocations: 7.327 MB / 1.568 GB, free: 3.676 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.638, allocations: 175.1 kB / 1.568 GB, free: 3.504 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.6381, allocations: 47.97 kB / 1.568 GB, free: 3.457 MB / 1.264 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.001036/0.6392, allocations: 495.1 kB / 1.569 GB, free: 2.965 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004861/0.6397, allocations: 210.6 kB / 1.569 GB, free: 2.758 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004792/0.6445, allocations: 2.15 MB / 1.571 GB, free: 0.5781 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.6445, allocations: 20 kB / 1.571 GB, free: 0.5586 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6445, allocations: 0 / 1.571 GB, free: 0.5586 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.6445, allocations: 7.969 kB / 1.571 GB, free: 0.5508 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007244/0.6517, allocations: 4.137 MB / 1.575 GB, free: 12.34 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6517, allocations: 0 / 1.575 GB, free: 12.34 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.6533, allocations: 323.5 kB / 1.575 GB, free: 12.02 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008964/0.6542, allocations: 200.1 kB / 1.576 GB, free: 11.81 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001116/0.6543, allocations: 47.95 kB / 1.576 GB, free: 11.76 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006419/0.6607, allocations: 7.356 MB / 1.583 GB, free: 3.699 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.6607, allocations: 0 / 1.583 GB, free: 3.699 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/0.6661, allocations: 2.029 MB / 1.585 GB, free: 1.633 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001478/0.6676, allocations: 0.5303 MB / 1.585 GB, free: 1.082 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004069/0.668, allocations: 28 kB / 1.585 GB, free: 1.055 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001434/0.6694, allocations: 110.3 kB / 1.585 GB, free: 0.9492 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/0.6697, allocations: 121.1 kB / 1.586 GB, free: 0.832 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001583/0.6699, allocations: 67.95 kB / 1.586 GB, free: 0.7656 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003544/0.6734, allocations: 3.148 MB / 1.589 GB, free: 13.62 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.6734, allocations: 0 / 1.589 GB, free: 13.62 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002/0.6754, allocations: 0.6976 MB / 1.589 GB, free: 12.92 MB / 1.295 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.006889/0.6823, allocations: 3.223 MB / 1.593 GB, free: 9.844 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003955/0.6862, allocations: 2.023 MB / 1.594 GB, free: 7.754 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 8.255e-06/0.6862, allocations: 4.562 kB / 1.594 GB, free: 7.75 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002314/0.6886, allocations: 1.375 MB / 1.596 GB, free: 6.312 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.6912, allocations: 0.5517 MB / 1.596 GB, free: 5.777 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6332/1.324, allocations: 21.16 MB / 1.617 GB, free: 271.4 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/1.326, allocations: 1.537 MB / 1.619 GB, free: 270.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001757/1.327, allocations: 0.5284 MB / 1.619 GB, free: 270.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.329, allocations: 0.9118 MB / 1.62 GB, free: 269.9 MB / 1.295 GB Notification: Performance of SimCode: time 8.41e-07/1.329, allocations: 0 / 1.62 GB, free: 269.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09406/1.423, allocations: 49.97 MB / 1.669 GB, free: 234.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.27/17.7, allocations: 10.45 kB / 1.669 GB, free: 234.7 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 24.342917076079175]