Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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.0007564/0.0007564, 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.0007683/0.0007683, 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.8438/0.8438, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.686/1.686, allocations: 389 MB / 0.633 GB, free: 12.68 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.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.306e-06/9.288e-06, allocations: 2.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.5496/0.5496, allocations: 148.3 MB / 1.144 GB, free: 7.316 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01468/0.5643, allocations: 16.14 MB / 1.16 GB, free: 12.48 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008245/0.5651, allocations: 38.12 kB / 1.16 GB, free: 12.46 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.5662, allocations: 0.5674 MB / 1.161 GB, free: 12.12 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.003135/0.5694, allocations: 1.88 MB / 1.163 GB, free: 11.07 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.5716, allocations: 1.492 MB / 1.164 GB, free: 10.26 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.001971/0.5736, allocations: 2.979 MB / 1.167 GB, free: 8.766 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.5751, allocations: 1.514 MB / 1.169 GB, free: 7.973 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002672/0.5777, allocations: 2.022 MB / 1.17 GB, free: 7.098 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000882/0.5786, allocations: 0.9316 MB / 1.171 GB, free: 6.773 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 0.0002151/0.5788, allocations: 229.7 kB / 1.172 GB, free: 6.773 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.5809, allocations: 1.479 MB / 1.173 GB, free: 6.344 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 0.0006645/0.5815, allocations: 0.8662 MB / 1.174 GB, free: 5.867 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 0.0006623/0.5822, allocations: 0.8793 MB / 1.175 GB, free: 5.453 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.003277/0.5855, allocations: 3.983 MB / 1.179 GB, free: 3.938 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.5855, allocations: 0 / 1.179 GB, free: 3.938 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5855, allocations: 0 / 1.179 GB, free: 3.938 MB / 1.026 GB Notification: Performance of Transformations before backend: time 2.55e-05/0.5855, allocations: 2.859 kB / 1.179 GB, free: 3.938 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.003004/0.5885, allocations: 2.987 MB / 1.182 GB, free: 2.102 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.5885, allocations: 10.12 kB / 1.182 GB, free: 2.102 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002123/0.5887, allocations: 252.9 kB / 1.182 GB, free: 1.945 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.5908, allocations: 0.638 MB / 1.182 GB, free: 1.77 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.5935, allocations: 3.39 MB / 1.186 GB, free: 360 kB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.229e-05/0.5936, allocations: 136.2 kB / 1.186 GB, free: 300 kB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.5938, allocations: 174.2 kB / 1.186 GB, free: 244 kB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/0.5962, allocations: 2.733 MB / 1.189 GB, free: 14.52 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.5962, allocations: 5.156 kB / 1.189 GB, free: 14.52 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.5963, allocations: 79.84 kB / 1.189 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/0.5963, allocations: 41.66 kB / 1.189 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002253/0.5986, allocations: 2.068 MB / 1.191 GB, free: 13.93 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005525/0.6041, allocations: 5.17 MB / 1.196 GB, free: 11.12 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.6061, allocations: 1.778 MB / 1.198 GB, free: 10.33 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007407/0.6068, allocations: 0.7355 MB / 1.198 GB, free: 9.98 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002281/0.6071, allocations: 121.1 kB / 1.198 GB, free: 9.941 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/0.6083, allocations: 1.638 MB / 1.2 GB, free: 8.598 MB / 1.042 GB Notification: Performance of pre-optimization done (n=154): time 2.465e-06/0.6083, allocations: 2.906 kB / 1.2 GB, free: 8.598 MB / 1.042 GB Notification: Performance of matching and sorting (n=154): time 0.003726/0.612, allocations: 2.681 MB / 1.203 GB, free: 7.344 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.6121, allocations: 208.1 kB / 1.203 GB, free: 7.117 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/0.6147, allocations: 4.122 MB / 1.207 GB, free: 5.363 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.603e-05/0.6148, allocations: 63.11 kB / 1.207 GB, free: 5.309 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004486/0.6153, allocations: 0.9077 MB / 1.208 GB, free: 4.516 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/0.6155, allocations: 0.5125 MB / 1.208 GB, free: 4.059 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.6158, allocations: 263.5 kB / 1.209 GB, free: 3.902 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.6159, allocations: 356.2 kB / 1.209 GB, free: 3.559 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006744/0.6165, allocations: 0.6072 MB / 1.21 GB, free: 3.281 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009037/0.6174, allocations: 1.284 MB / 1.211 GB, free: 2.223 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001425/0.6189, allocations: 1.38 MB / 1.212 GB, free: 1.555 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.6189, allocations: 0 / 1.212 GB, free: 1.555 MB / 1.042 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.002338/0.6212, allocations: 1.876 MB / 1.214 GB, free: 15.98 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6212, allocations: 7.938 kB / 1.214 GB, free: 15.97 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.6212, allocations: 0 / 1.214 GB, free: 15.97 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000517/0.6218, allocations: 216.1 kB / 1.214 GB, free: 15.75 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007532/0.6225, allocations: 339.5 kB / 1.215 GB, free: 15.41 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/0.6261, allocations: 6.787 MB / 1.221 GB, free: 8.051 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006906/0.6268, allocations: 183.1 kB / 1.221 GB, free: 7.871 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-05/0.6269, allocations: 51.97 kB / 1.221 GB, free: 7.82 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.0005119/0.6274, allocations: 0.4922 MB / 1.222 GB, free: 7.316 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.6276, allocations: 206.7 kB / 1.222 GB, free: 7.113 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/0.6302, allocations: 2.201 MB / 1.224 GB, free: 4.887 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.6302, allocations: 16 kB / 1.224 GB, free: 4.871 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.6302, allocations: 0 / 1.224 GB, free: 4.871 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.6302, allocations: 7.969 kB / 1.224 GB, free: 4.863 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004514/0.6347, allocations: 4.052 MB / 1.228 GB, free: 0.7344 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6347, allocations: 7.938 kB / 1.228 GB, free: 0.7266 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007034/0.6354, allocations: 331.5 kB / 1.229 GB, free: 412 kB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003938/0.6358, allocations: 192.1 kB / 1.229 GB, free: 204 kB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.158e-05/0.6359, allocations: 43.95 kB / 1.229 GB, free: 160 kB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003183/0.639, allocations: 6.82 MB / 1.235 GB, free: 8.762 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.639, allocations: 4.188 kB / 1.235 GB, free: 8.758 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002338/0.6414, allocations: 2.087 MB / 1.237 GB, free: 6.633 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005979/0.642, allocations: 466 kB / 1.238 GB, free: 6.176 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.6421, allocations: 32 kB / 1.238 GB, free: 6.145 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006324/0.6428, allocations: 115.9 kB / 1.238 GB, free: 6.031 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.6429, allocations: 121.8 kB / 1.238 GB, free: 5.914 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-05/0.643, allocations: 79.88 kB / 1.238 GB, free: 5.836 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.002026/0.645, allocations: 3.153 MB / 1.241 GB, free: 2.691 MB / 1.073 GB Notification: Performance of sort global known variables: time 8e-08/0.645, allocations: 0 / 1.241 GB, free: 2.691 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.001516/0.6465, allocations: 0.7094 MB / 1.242 GB, free: 1.98 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.003599/0.6501, allocations: 3.348 MB / 1.245 GB, free: 14.8 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.002039/0.6522, allocations: 2.076 MB / 1.247 GB, free: 12.66 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6522, allocations: 0.8906 kB / 1.247 GB, free: 12.66 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.6534, allocations: 1.383 MB / 1.249 GB, free: 11.21 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.6547, allocations: 0.5435 MB / 1.249 GB, free: 10.68 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/0.674, allocations: 21.54 MB / 1.27 GB, free: 4.867 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006866/0.6747, allocations: 0.9697 MB / 1.271 GB, free: 3.859 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.001079/0.6758, allocations: 0.5293 MB / 1.272 GB, free: 3.324 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008168/0.6766, allocations: 0.9142 MB / 1.273 GB, free: 2.41 MB / 1.104 GB Notification: Performance of SimCode: time 9.02e-07/0.6766, allocations: 0 / 1.273 GB, free: 2.41 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06127/0.7379, allocations: 53.41 MB / 1.325 GB, free: 13.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.172/9.91, allocations: 6.406 kB / 1.325 GB, free: 13.6 MB / 1.167 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.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: 13.967045417055488]