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.0007977/0.0007977, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007616/0.0007616, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8608/0.8608, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 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 1.719/1.719, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9997 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.757e-05/1.927e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Validation.Outside_CpData_Directions): time 0.5541/0.5542, allocations: 148.3 MB / 1.144 GB, free: 7.34 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.02658/0.5807, allocations: 16.13 MB / 1.16 GB, free: 12.5 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002424/0.5832, allocations: 42.16 kB / 1.16 GB, free: 12.48 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.002604/0.5858, allocations: 0.5726 MB / 1.161 GB, free: 12.13 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.007818/0.5936, allocations: 1.881 MB / 1.163 GB, free: 11.09 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.004874/0.5985, allocations: 1.484 MB / 1.164 GB, free: 10.29 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.006324/0.6048, allocations: 2.983 MB / 1.167 GB, free: 8.785 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003382/0.6082, allocations: 1.517 MB / 1.168 GB, free: 7.988 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005832/0.614, allocations: 2.017 MB / 1.17 GB, free: 7.121 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002481/0.6165, allocations: 0.9402 MB / 1.171 GB, free: 6.789 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0007738/0.6173, allocations: 229.2 kB / 1.172 GB, free: 6.789 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004796/0.622, allocations: 1.471 MB / 1.173 GB, free: 6.367 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.6234, allocations: 0.8583 MB / 1.174 GB, free: 5.895 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.003096/0.6265, allocations: 0.8788 MB / 1.175 GB, free: 5.48 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.009422/0.6359, allocations: 3.98 MB / 1.179 GB, free: 3.965 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.6359, allocations: 0 / 1.179 GB, free: 3.965 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.455e-06/0.636, allocations: 5.125 kB / 1.179 GB, free: 3.961 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.0002061/0.6362, allocations: 0 / 1.179 GB, free: 3.961 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 436 * Number of variables: 436 Notification: Performance of Generate backend data structure: time 0.008754/0.6449, allocations: 2.963 MB / 1.182 GB, free: 2.145 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 8.205e-05/0.645, allocations: 13.94 kB / 1.182 GB, free: 2.141 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005587/0.6456, allocations: 250.3 kB / 1.182 GB, free: 1.988 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.6489, allocations: 0.6406 MB / 1.182 GB, free: 1.809 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005645/0.6545, allocations: 3.377 MB / 1.186 GB, free: 412 kB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.6547, allocations: 136.3 kB / 1.186 GB, free: 348 kB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002768/0.6549, allocations: 175.6 kB / 1.186 GB, free: 292 kB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003657/0.6586, allocations: 2.741 MB / 1.189 GB, free: 14.56 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.6586, allocations: 1.375 kB / 1.189 GB, free: 14.56 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.6588, allocations: 77.09 kB / 1.189 GB, free: 14.5 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.694e-05/0.6588, allocations: 42.16 kB / 1.189 GB, free: 14.5 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003369/0.6622, allocations: 2.073 MB / 1.191 GB, free: 13.96 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01094/0.6731, allocations: 5.175 MB / 1.196 GB, free: 11.14 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/0.6763, allocations: 1.786 MB / 1.198 GB, free: 10.34 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008889/0.6772, allocations: 0.7332 MB / 1.198 GB, free: 9.992 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003283/0.6775, allocations: 122.3 kB / 1.198 GB, free: 9.949 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001524/0.679, allocations: 1.631 MB / 1.2 GB, free: 8.617 MB / 1.042 GB Notification: Performance of pre-optimization done (n=154): time 4.438e-06/0.679, allocations: 0 / 1.2 GB, free: 8.617 MB / 1.042 GB Notification: Performance of matching and sorting (n=154): time 0.004993/0.684, allocations: 2.682 MB / 1.203 GB, free: 7.363 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004993/0.6845, allocations: 211.7 kB / 1.203 GB, free: 7.133 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004836/0.6893, allocations: 4.105 MB / 1.207 GB, free: 5.383 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0006328/0.69, allocations: 63.14 kB / 1.207 GB, free: 5.328 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009913/0.691, allocations: 0.913 MB / 1.208 GB, free: 4.527 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007329/0.6917, allocations: 0.5153 MB / 1.208 GB, free: 4.07 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.692, allocations: 252.8 kB / 1.209 GB, free: 3.922 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6922, allocations: 363.3 kB / 1.209 GB, free: 3.574 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/0.6932, allocations: 0.6074 MB / 1.209 GB, free: 3.297 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001236/0.6944, allocations: 1.273 MB / 1.211 GB, free: 2.246 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.6963, allocations: 1.382 MB / 1.212 GB, free: 1.578 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.066e-06/0.6963, allocations: 0 / 1.212 GB, free: 1.578 MB / 1.042 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.003408/0.6997, allocations: 1.874 MB / 1.214 GB, free: 28 kB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.6998, allocations: 4 kB / 1.214 GB, free: 24 kB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.6998, allocations: 4 kB / 1.214 GB, free: 20 kB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009748/0.7008, allocations: 220 kB / 1.214 GB, free: 15.79 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.7018, allocations: 331.6 kB / 1.214 GB, free: 15.46 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004973/0.7067, allocations: 6.787 MB / 1.221 GB, free: 8.102 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.7084, allocations: 179.2 kB / 1.221 GB, free: 7.926 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.7085, allocations: 47.97 kB / 1.221 GB, free: 7.879 MB / 1.057 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (158): * Single equations (assignments): 153 * 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.001151/0.7097, allocations: 0.4961 MB / 1.222 GB, free: 7.371 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000593/0.7103, allocations: 206.7 kB / 1.222 GB, free: 7.168 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003003/0.7133, allocations: 2.193 MB / 1.224 GB, free: 4.949 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.7133, allocations: 16 kB / 1.224 GB, free: 4.934 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.7133, allocations: 4 kB / 1.224 GB, free: 4.93 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.7133, allocations: 7.969 kB / 1.224 GB, free: 4.922 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006398/0.7197, allocations: 4.055 MB / 1.228 GB, free: 0.7891 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.7197, allocations: 0 / 1.228 GB, free: 0.7891 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000776/0.7205, allocations: 335.5 kB / 1.228 GB, free: 472 kB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004473/0.721, allocations: 196.1 kB / 1.229 GB, free: 260 kB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.97e-05/0.7211, allocations: 43.97 kB / 1.229 GB, free: 216 kB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003933/0.725, allocations: 6.812 MB / 1.235 GB, free: 8.824 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.725, allocations: 3.938 kB / 1.235 GB, free: 8.82 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/0.7285, allocations: 2.083 MB / 1.237 GB, free: 6.699 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.7296, allocations: 470 kB / 1.238 GB, free: 6.238 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.7299, allocations: 32 kB / 1.238 GB, free: 6.207 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008219/0.7307, allocations: 115.2 kB / 1.238 GB, free: 6.098 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/0.731, allocations: 129.8 kB / 1.238 GB, free: 5.973 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.7311, allocations: 71.94 kB / 1.238 GB, free: 5.902 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.002662/0.7337, allocations: 3.14 MB / 1.241 GB, free: 2.77 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7337, allocations: 0 / 1.241 GB, free: 2.77 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.002727/0.7365, allocations: 0.7132 MB / 1.242 GB, free: 2.055 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (156): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.00492/0.7414, allocations: 3.341 MB / 1.245 GB, free: 14.88 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.002728/0.7441, allocations: 2.076 MB / 1.247 GB, free: 12.73 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.7441, allocations: 4.891 kB / 1.247 GB, free: 12.73 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.7455, allocations: 1.383 MB / 1.249 GB, free: 11.28 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.7477, allocations: 0.5343 MB / 1.249 GB, free: 10.76 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02768/0.7753, allocations: 21.44 MB / 1.27 GB, free: 5.043 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.7765, allocations: 0.9615 MB / 1.271 GB, free: 4.047 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.001848/0.7784, allocations: 0.5253 MB / 1.271 GB, free: 3.516 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001359/0.7797, allocations: 0.918 MB / 1.272 GB, free: 2.598 MB / 1.104 GB Notification: Performance of SimCode: time 2.044e-06/0.7797, allocations: 0 / 1.272 GB, free: 2.598 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07652/0.8563, allocations: 53.17 MB / 1.324 GB, free: 14.05 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.1/9.957, allocations: 5.578 kB / 1.324 GB, free: 14.05 MB / 1.167 GB " [Timeout remaining time 290] (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/jenkins/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: 14.1116246227175]