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.00149/0.00149, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001693/0.001693, allocations: 210.6 kB / 22.24 MB, free: 4.859 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.328/1.328, allocations: 230.6 MB / 256 MB, free: 8.031 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.919/2.919, allocations: 0.5107 GB / 0.8158 GB, free: 17.87 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.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: 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.001985/0.001985, allocations: 64.31 kB / 1.186 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2989, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1765/0.4754, allocations: 148.4 MB / 1.508 GB, free: 9.188 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02273/0.4981, allocations: 16.22 MB / 1.524 GB, free: 8.922 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001391/0.4995, allocations: 43.62 kB / 1.524 GB, free: 8.879 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.5013, allocations: 0.5622 MB / 1.525 GB, free: 8.312 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.005159/0.5065, allocations: 1.844 MB / 1.527 GB, free: 6.465 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003632/0.5101, allocations: 1.469 MB / 1.528 GB, free: 5.008 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.00387/0.514, allocations: 2.918 MB / 1.531 GB, free: 2.082 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.5165, allocations: 1.578 MB / 1.532 GB, free: 456 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004442/0.521, allocations: 1.523 MB / 1.534 GB, free: 14.96 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.5227, allocations: 1.05 MB / 1.535 GB, free: 13.91 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0005757/0.5233, allocations: 227.9 kB / 1.535 GB, free: 13.69 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003147/0.5265, allocations: 1.462 MB / 1.536 GB, free: 12.23 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0009423/0.5274, allocations: 0.8256 MB / 1.537 GB, free: 11.4 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.001538/0.5289, allocations: 1.053 MB / 1.538 GB, free: 10.34 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.005828/0.5348, allocations: 3.817 MB / 1.542 GB, free: 6.508 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.5348, allocations: 0 / 1.542 GB, free: 6.508 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.404e-06/0.5348, allocations: 0 / 1.542 GB, free: 6.508 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001299/0.5349, allocations: 0 / 1.542 GB, free: 6.508 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.006151/0.5411, allocations: 2.98 MB / 1.545 GB, free: 3.48 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.5411, allocations: 8.031 kB / 1.545 GB, free: 3.473 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003175/0.5414, allocations: 248.9 kB / 1.545 GB, free: 3.219 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004159/0.5456, allocations: 0.6383 MB / 1.546 GB, free: 2.578 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004734/0.5503, allocations: 3.378 MB / 1.549 GB, free: 15.16 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.5504, allocations: 131.3 kB / 1.549 GB, free: 15.04 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/0.5507, allocations: 171.9 kB / 1.549 GB, free: 14.87 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003952/0.5547, allocations: 2.721 MB / 1.552 GB, free: 11.91 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.201e-05/0.5547, allocations: 0 / 1.552 GB, free: 11.91 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.5549, allocations: 76 kB / 1.552 GB, free: 11.84 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/0.5549, allocations: 40 kB / 1.552 GB, free: 11.8 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003668/0.5586, allocations: 2.066 MB / 1.554 GB, free: 9.727 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009124/0.5677, allocations: 5.113 MB / 1.559 GB, free: 4.527 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003227/0.5709, allocations: 1.724 MB / 1.561 GB, free: 2.801 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.5722, allocations: 0.7217 MB / 1.562 GB, free: 2.078 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004227/0.5726, allocations: 121.2 kB / 1.562 GB, free: 1.961 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002075/0.5747, allocations: 1.615 MB / 1.563 GB, free: 180 kB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 3.517e-06/0.5747, allocations: 4 kB / 1.563 GB, free: 176 kB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.006678/0.5814, allocations: 2.629 MB / 1.566 GB, free: 13.52 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001234/0.5815, allocations: 205.2 kB / 1.566 GB, free: 13.28 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00487/0.5864, allocations: 4.127 MB / 1.57 GB, free: 9.152 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0002162/0.5866, allocations: 57.7 kB / 1.57 GB, free: 9.09 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009337/0.5875, allocations: 0.9195 MB / 1.571 GB, free: 8.16 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007117/0.5883, allocations: 0.4957 MB / 1.572 GB, free: 7.66 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004474/0.5887, allocations: 242.8 kB / 1.572 GB, free: 7.414 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.5889, allocations: 353.9 kB / 1.572 GB, free: 7.062 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.5902, allocations: 0.5842 MB / 1.573 GB, free: 6.48 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.5919, allocations: 1.239 MB / 1.574 GB, free: 5.07 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002474/0.5944, allocations: 1.333 MB / 1.575 GB, free: 3.73 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5944, allocations: 0 / 1.575 GB, free: 3.73 MB / 1.264 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00411/0.5985, allocations: 1.812 MB / 1.577 GB, free: 1.895 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.5985, allocations: 4 kB / 1.577 GB, free: 1.891 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.5985, allocations: 4 kB / 1.577 GB, free: 1.887 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.5996, allocations: 212.1 kB / 1.577 GB, free: 1.664 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/0.6011, allocations: 335.5 kB / 1.577 GB, free: 1.336 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006507/0.6076, allocations: 6.788 MB / 1.584 GB, free: 9.969 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.6092, allocations: 173.5 kB / 1.584 GB, free: 9.801 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.6094, allocations: 47.97 kB / 1.584 GB, free: 9.754 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.0009896/0.6104, allocations: 493.5 kB / 1.585 GB, free: 9.262 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004791/0.6109, allocations: 202.7 kB / 1.585 GB, free: 9.062 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004685/0.6155, allocations: 2.158 MB / 1.587 GB, free: 6.875 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.6156, allocations: 16 kB / 1.587 GB, free: 6.859 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.6156, allocations: 0 / 1.587 GB, free: 6.859 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.6156, allocations: 7.969 kB / 1.587 GB, free: 6.852 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007491/0.6231, allocations: 3.848 MB / 1.591 GB, free: 2.938 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.6231, allocations: 0 / 1.591 GB, free: 2.938 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.6245, allocations: 323.6 kB / 1.591 GB, free: 2.621 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008523/0.6254, allocations: 200.1 kB / 1.591 GB, free: 2.41 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001142/0.6255, allocations: 39.97 kB / 1.591 GB, free: 2.371 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006118/0.6316, allocations: 6.835 MB / 1.598 GB, free: 10.95 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.6316, allocations: 0 / 1.598 GB, free: 10.95 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004481/0.6361, allocations: 2.038 MB / 1.6 GB, free: 8.879 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/0.6373, allocations: 466 kB / 1.601 GB, free: 8.422 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002982/0.6376, allocations: 31.98 kB / 1.601 GB, free: 8.391 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.6389, allocations: 114.3 kB / 1.601 GB, free: 8.281 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000274/0.6392, allocations: 121.1 kB / 1.601 GB, free: 8.16 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/0.6394, allocations: 71.95 kB / 1.601 GB, free: 8.09 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003638/0.643, allocations: 3.161 MB / 1.604 GB, free: 4.938 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.81e-07/0.643, allocations: 0 / 1.604 GB, free: 4.938 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002046/0.6451, allocations: 0.6976 MB / 1.605 GB, free: 4.238 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.006974/0.652, allocations: 3.27 MB / 1.608 GB, free: 1.141 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.5384/1.19, allocations: 2.012 MB / 1.61 GB, free: 242.3 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.19, allocations: 7.641 kB / 1.61 GB, free: 242.3 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/1.193, allocations: 1.371 MB / 1.611 GB, free: 241.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/1.195, allocations: 0.5632 MB / 1.612 GB, free: 241.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03073/1.226, allocations: 21.25 MB / 1.632 GB, free: 234.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/1.227, allocations: 0.9673 MB / 1.633 GB, free: 234.7 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00194/1.229, allocations: 0.5341 MB / 1.634 GB, free: 234.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.23, allocations: 0.9123 MB / 1.635 GB, free: 233.9 MB / 1.295 GB Notification: Performance of SimCode: time 8.01e-07/1.23, allocations: 0 / 1.635 GB, free: 233.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09807/1.328, allocations: 53.44 MB / 1.687 GB, free: 194.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.17/15.49, allocations: 2.75 kB / 1.687 GB, free: 194.1 MB / 1.295 GB " [Timeout remaining time 284] (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/jenkins1/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: 21.755800276994705]