Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001464/0.001464, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001635/0.001635, allocations: 220.2 kB / 23.03 MB, free: 4.945 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 / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.037/3.037, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_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.001907/0.001907, allocations: 65.42 kB / 1.17 GB, free: 19.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3664, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1907/0.5572, allocations: 148.3 MB / 1.49 GB, free: 11.1 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.5802, allocations: 16.18 MB / 1.506 GB, free: 10.88 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.5818, allocations: 47.62 kB / 1.506 GB, free: 10.83 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001807/0.5837, allocations: 0.5583 MB / 1.506 GB, free: 10.27 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005789/0.5894, allocations: 1.858 MB / 1.508 GB, free: 8.402 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004218/0.5937, allocations: 1.466 MB / 1.51 GB, free: 6.949 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004609/0.5983, allocations: 2.929 MB / 1.513 GB, free: 4.012 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002954/0.6012, allocations: 1.602 MB / 1.514 GB, free: 2.355 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004592/0.6058, allocations: 1.519 MB / 1.516 GB, free: 0.8789 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001842/0.6077, allocations: 1.159 MB / 1.517 GB, free: 15.71 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003918/0.608, allocations: 224 kB / 1.517 GB, free: 15.5 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.6115, allocations: 1.486 MB / 1.518 GB, free: 14.01 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008059/0.6123, allocations: 0.8256 MB / 1.519 GB, free: 13.18 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001232/0.6135, allocations: 1.05 MB / 1.52 GB, free: 12.12 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005347/0.6188, allocations: 3.814 MB / 1.524 GB, free: 8.297 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.6188, allocations: 0 / 1.524 GB, free: 8.297 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6188, allocations: 4 kB / 1.524 GB, free: 8.293 MB / 1.217 GB Notification: Performance of Transformations before backend: time 5.578e-05/0.6189, allocations: 0 / 1.524 GB, free: 8.293 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.005287/0.6242, allocations: 2.953 MB / 1.527 GB, free: 5.293 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.6242, allocations: 12.03 kB / 1.527 GB, free: 5.281 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.892e-05/0.6243, allocations: 43.39 kB / 1.527 GB, free: 5.238 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002989/0.6246, allocations: 252.9 kB / 1.527 GB, free: 4.98 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004412/0.629, allocations: 0.6306 MB / 1.528 GB, free: 4.348 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004459/0.6335, allocations: 3.382 MB / 1.531 GB, free: 0.9297 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.6336, allocations: 131.4 kB / 1.531 GB, free: 0.8008 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002538/0.6338, allocations: 171.9 kB / 1.531 GB, free: 0.6328 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004083/0.6379, allocations: 2.721 MB / 1.534 GB, free: 13.67 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.6379, allocations: 0 / 1.534 GB, free: 13.67 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.6381, allocations: 72 kB / 1.534 GB, free: 13.6 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/0.6382, allocations: 44 kB / 1.534 GB, free: 13.56 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003774/0.6419, allocations: 2.117 MB / 1.536 GB, free: 11.44 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009705/0.6516, allocations: 5.125 MB / 1.541 GB, free: 6.234 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/0.655, allocations: 1.74 MB / 1.543 GB, free: 4.488 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.6563, allocations: 0.7061 MB / 1.544 GB, free: 3.777 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004787/0.6568, allocations: 121.2 kB / 1.544 GB, free: 3.66 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002211/0.659, allocations: 1.623 MB / 1.545 GB, free: 1.867 MB / 1.232 GB Notification: Performance of pre-optimization done (n=146): time 3.837e-06/0.659, allocations: 0 / 1.545 GB, free: 1.867 MB / 1.232 GB Notification: Performance of matching and sorting (n=146): time 0.007147/0.6662, allocations: 2.633 MB / 1.548 GB, free: 15.21 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/0.6663, allocations: 197.2 kB / 1.548 GB, free: 14.98 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005498/0.6718, allocations: 4.105 MB / 1.552 GB, free: 10.87 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0003372/0.6721, allocations: 57.7 kB / 1.552 GB, free: 10.81 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009348/0.6731, allocations: 0.9232 MB / 1.553 GB, free: 9.875 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005593/0.6736, allocations: 0.4918 MB / 1.553 GB, free: 9.379 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004484/0.6741, allocations: 246.8 kB / 1.554 GB, free: 9.129 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.6743, allocations: 345.9 kB / 1.554 GB, free: 8.785 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.6755, allocations: 0.5921 MB / 1.555 GB, free: 8.195 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.6772, allocations: 1.231 MB / 1.556 GB, free: 6.793 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/0.68, allocations: 1.337 MB / 1.557 GB, free: 5.449 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.68, allocations: 0 / 1.557 GB, free: 5.449 MB / 1.248 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004656/0.6846, allocations: 1.812 MB / 1.559 GB, free: 3.613 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.6848, allocations: 5.719 kB / 1.559 GB, free: 3.609 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.819e-06/0.6848, allocations: 0 / 1.559 GB, free: 3.609 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.6859, allocations: 212.2 kB / 1.559 GB, free: 3.387 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001659/0.6875, allocations: 327.5 kB / 1.559 GB, free: 3.066 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007514/0.6951, allocations: 6.8 MB / 1.566 GB, free: 11.69 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.6969, allocations: 163.2 kB / 1.566 GB, free: 11.53 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/0.6972, allocations: 51.91 kB / 1.566 GB, free: 11.48 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.001419/0.6986, allocations: 0.4898 MB / 1.567 GB, free: 10.98 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008716/0.6995, allocations: 202.7 kB / 1.567 GB, free: 10.78 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005569/0.705, allocations: 2.154 MB / 1.569 GB, free: 8.594 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.705, allocations: 19.94 kB / 1.569 GB, free: 8.574 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.7051, allocations: 0 / 1.569 GB, free: 8.574 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.782e-05/0.7051, allocations: 7.969 kB / 1.569 GB, free: 8.566 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009169/0.7142, allocations: 3.84 MB / 1.573 GB, free: 4.66 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.7142, allocations: 0 / 1.573 GB, free: 4.66 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001579/0.7158, allocations: 323.6 kB / 1.573 GB, free: 4.344 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009412/0.7168, allocations: 196.1 kB / 1.573 GB, free: 4.137 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/0.7169, allocations: 47.95 kB / 1.573 GB, free: 4.09 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007138/0.7241, allocations: 6.812 MB / 1.58 GB, free: 12.69 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.7241, allocations: 0 / 1.58 GB, free: 12.69 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005392/0.7295, allocations: 2.033 MB / 1.582 GB, free: 10.62 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001531/0.731, allocations: 470.1 kB / 1.582 GB, free: 10.16 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004983/0.7315, allocations: 32 kB / 1.582 GB, free: 10.13 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.7331, allocations: 110.9 kB / 1.583 GB, free: 10.03 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003317/0.7335, allocations: 129 kB / 1.583 GB, free: 9.898 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000209/0.7337, allocations: 67.95 kB / 1.583 GB, free: 9.832 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.004338/0.738, allocations: 3.148 MB / 1.586 GB, free: 6.691 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.738, allocations: 0 / 1.586 GB, free: 6.691 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002521/0.7405, allocations: 0.7054 MB / 1.587 GB, free: 5.984 MB / 1.279 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.007905/0.7485, allocations: 3.256 MB / 1.59 GB, free: 2.902 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.00434/0.7528, allocations: 2.02 MB / 1.592 GB, free: 0.8164 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/0.7528, allocations: 0.6562 kB / 1.592 GB, free: 0.8125 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002673/0.7555, allocations: 1.372 MB / 1.593 GB, free: 15.38 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003265/0.7587, allocations: 0.5518 MB / 1.594 GB, free: 14.84 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6366/1.395, allocations: 21.16 MB / 1.614 GB, free: 255.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/1.397, allocations: 0.9613 MB / 1.615 GB, free: 255.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001687/1.398, allocations: 0.5315 MB / 1.616 GB, free: 255.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/1.399, allocations: 0.9036 MB / 1.617 GB, free: 255.2 MB / 1.295 GB Notification: Performance of SimCode: time 9.02e-07/1.399, allocations: 3.312 kB / 1.617 GB, free: 255.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09757/1.497, allocations: 53.03 MB / 1.668 GB, free: 225.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.67/19.17, allocations: 8.047 kB / 1.668 GB, free: 225.7 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.fmu > Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Validation.Outside_CpData_Directions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Validation_Outside_CpData_Directions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.015932203037664]