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.001742/0.001742, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001776/0.001776, allocations: 209.9 kB / 22.24 MB, free: 5.262 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.33/1.33, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 179] 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 2.991/2.991, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions,fileNamePrefix="Buildings_latest_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.001976/0.001976, allocations: 71.61 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3065, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.1752/0.4817, allocations: 148.4 MB / 1.508 GB, free: 9.125 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02236/0.5041, allocations: 16.22 MB / 1.524 GB, free: 8.855 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.5054, allocations: 43.62 kB / 1.524 GB, free: 8.812 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.5069, allocations: 0.5544 MB / 1.525 GB, free: 8.254 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004688/0.5116, allocations: 1.847 MB / 1.527 GB, free: 6.406 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.00332/0.5149, allocations: 1.464 MB / 1.528 GB, free: 4.953 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003389/0.5183, allocations: 2.922 MB / 1.531 GB, free: 2.023 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/0.5203, allocations: 1.571 MB / 1.532 GB, free: 404 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00404/0.5243, allocations: 1.519 MB / 1.534 GB, free: 14.92 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001647/0.526, allocations: 1.046 MB / 1.535 GB, free: 13.87 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0003672/0.5264, allocations: 228 kB / 1.535 GB, free: 13.64 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00291/0.5293, allocations: 1.466 MB / 1.536 GB, free: 12.18 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.000748/0.53, allocations: 0.8216 MB / 1.537 GB, free: 11.35 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.5313, allocations: 1.046 MB / 1.538 GB, free: 10.3 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005235/0.5365, allocations: 3.806 MB / 1.542 GB, free: 6.48 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.5365, allocations: 3.984 kB / 1.542 GB, free: 6.477 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5365, allocations: 0 / 1.542 GB, free: 6.477 MB / 1.232 GB Notification: Performance of Transformations before backend: time 4.029e-05/0.5366, allocations: 0 / 1.542 GB, free: 6.477 MB / 1.232 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.005182/0.5417, allocations: 2.961 MB / 1.545 GB, free: 3.469 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.5418, allocations: 8.031 kB / 1.545 GB, free: 3.461 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002892/0.5421, allocations: 256.9 kB / 1.545 GB, free: 3.199 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004054/0.5461, allocations: 0.6228 MB / 1.546 GB, free: 2.574 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00437/0.5505, allocations: 3.378 MB / 1.549 GB, free: 15.16 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.5506, allocations: 131.4 kB / 1.549 GB, free: 15.04 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.5508, allocations: 167.9 kB / 1.549 GB, free: 14.87 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/0.5546, allocations: 2.721 MB / 1.552 GB, free: 11.91 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.486e-05/0.5546, allocations: 3.938 kB / 1.552 GB, free: 11.91 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001637/0.5548, allocations: 79.98 kB / 1.552 GB, free: 11.83 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.5548, allocations: 40 kB / 1.552 GB, free: 11.79 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00362/0.5584, allocations: 2.066 MB / 1.554 GB, free: 9.723 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009065/0.5675, allocations: 5.112 MB / 1.559 GB, free: 4.52 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.5707, allocations: 1.732 MB / 1.561 GB, free: 2.785 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.5719, allocations: 0.7182 MB / 1.562 GB, free: 2.066 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004199/0.5724, allocations: 113.2 kB / 1.562 GB, free: 1.957 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/0.5744, allocations: 1.627 MB / 1.563 GB, free: 164 kB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 3.416e-06/0.5744, allocations: 0 / 1.563 GB, free: 164 kB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.00665/0.5811, allocations: 2.637 MB / 1.566 GB, free: 13.5 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.5812, allocations: 197.2 kB / 1.566 GB, free: 13.27 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004766/0.586, allocations: 4.109 MB / 1.57 GB, free: 9.152 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0001918/0.5862, allocations: 57.7 kB / 1.57 GB, free: 9.09 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008287/0.587, allocations: 0.9116 MB / 1.571 GB, free: 8.168 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004611/0.5875, allocations: 0.4995 MB / 1.571 GB, free: 7.668 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003846/0.5878, allocations: 238.8 kB / 1.572 GB, free: 7.426 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.588, allocations: 353.9 kB / 1.572 GB, free: 7.074 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001148/0.5892, allocations: 0.5843 MB / 1.573 GB, free: 6.492 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.5907, allocations: 1.243 MB / 1.574 GB, free: 5.078 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002442/0.5932, allocations: 1.333 MB / 1.575 GB, free: 3.738 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.5932, allocations: 7.938 kB / 1.575 GB, free: 3.73 MB / 1.264 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003977/0.5972, allocations: 1.808 MB / 1.577 GB, free: 1.898 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.5972, allocations: 6.344 kB / 1.577 GB, free: 1.895 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5972, allocations: 12.05 kB / 1.577 GB, free: 1.883 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.5982, allocations: 204.1 kB / 1.577 GB, free: 1.668 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.5997, allocations: 327.5 kB / 1.577 GB, free: 1.348 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/0.6058, allocations: 6.79 MB / 1.584 GB, free: 9.98 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.6072, allocations: 171 kB / 1.584 GB, free: 9.812 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.6074, allocations: 56.02 kB / 1.584 GB, free: 9.758 MB / 1.279 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.0009482/0.6083, allocations: 486.1 kB / 1.585 GB, free: 9.273 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004241/0.6087, allocations: 202.7 kB / 1.585 GB, free: 9.074 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004513/0.6132, allocations: 2.154 MB / 1.587 GB, free: 6.891 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.6133, allocations: 16 kB / 1.587 GB, free: 6.875 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.6133, allocations: 7.984 kB / 1.587 GB, free: 6.867 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.6133, allocations: 3.984 kB / 1.587 GB, free: 6.863 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007115/0.6204, allocations: 3.843 MB / 1.591 GB, free: 2.953 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.6204, allocations: 4 kB / 1.591 GB, free: 2.949 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/0.6218, allocations: 319.6 kB / 1.591 GB, free: 2.637 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008452/0.6227, allocations: 204 kB / 1.591 GB, free: 2.422 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001043/0.6228, allocations: 39.97 kB / 1.591 GB, free: 2.383 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006019/0.6288, allocations: 6.835 MB / 1.598 GB, free: 10.96 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6288, allocations: 0 / 1.598 GB, free: 10.96 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00436/0.6332, allocations: 2.033 MB / 1.6 GB, free: 8.895 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/0.6344, allocations: 458.1 kB / 1.6 GB, free: 8.445 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.6347, allocations: 28 kB / 1.6 GB, free: 8.418 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.636, allocations: 109 kB / 1.601 GB, free: 8.312 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002568/0.6362, allocations: 129.1 kB / 1.601 GB, free: 8.184 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/0.6364, allocations: 75.94 kB / 1.601 GB, free: 8.109 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00346/0.6398, allocations: 3.145 MB / 1.604 GB, free: 4.973 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6398, allocations: 0 / 1.604 GB, free: 4.973 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001703/0.6415, allocations: 0.6976 MB / 1.604 GB, free: 4.273 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.006596/0.6481, allocations: 3.264 MB / 1.608 GB, free: 1.184 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.5412/1.189, allocations: 2.016 MB / 1.61 GB, free: 242.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.189, allocations: 6.828 kB / 1.61 GB, free: 242.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002108/1.191, allocations: 1.376 MB / 1.611 GB, free: 241.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/1.194, allocations: 0.551 MB / 1.612 GB, free: 241.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0302/1.224, allocations: 21.16 MB / 1.632 GB, free: 234.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/1.225, allocations: 0.9632 MB / 1.633 GB, free: 234.5 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001912/1.227, allocations: 0.531 MB / 1.634 GB, free: 234.5 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/1.229, allocations: 0.9093 MB / 1.635 GB, free: 233.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.252e-06/1.229, allocations: 3.656 kB / 1.635 GB, free: 233.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09269/1.321, allocations: 53.18 MB / 1.686 GB, free: 194.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/15.37, allocations: 9.062 kB / 1.686 GB, free: 194.3 MB / 1.295 GB " [Timeout remaining time 284] (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: 21.775410477072]