Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001886/0.001886, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00232/0.00232, allocations: 209 kB / 22.99 MB, free: 4.984 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.188/3.188, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [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.002017/0.002017, allocations: 68.62 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3154, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1854/0.5008, allocations: 148.4 MB / 1.472 GB, free: 12.08 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02336/0.5242, allocations: 16.22 MB / 1.488 GB, free: 11.81 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.5257, allocations: 39.69 kB / 1.488 GB, free: 11.77 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.5274, allocations: 0.5583 MB / 1.488 GB, free: 11.21 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005404/0.5328, allocations: 1.845 MB / 1.49 GB, free: 9.359 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003789/0.5366, allocations: 1.474 MB / 1.492 GB, free: 7.898 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003945/0.5405, allocations: 2.925 MB / 1.494 GB, free: 4.961 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002464/0.543, allocations: 1.598 MB / 1.496 GB, free: 3.301 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004765/0.5477, allocations: 1.533 MB / 1.498 GB, free: 1.812 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.5497, allocations: 1.157 MB / 1.499 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0004101/0.5502, allocations: 224 kB / 1.499 GB, free: 444 kB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003198/0.5534, allocations: 1.486 MB / 1.5 GB, free: 14.95 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007752/0.5541, allocations: 0.814 MB / 1.501 GB, free: 14.13 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.5553, allocations: 1.011 MB / 1.502 GB, free: 13.11 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005298/0.5606, allocations: 3.685 MB / 1.506 GB, free: 9.414 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.5606, allocations: 3.984 kB / 1.506 GB, free: 9.41 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5606, allocations: 0 / 1.506 GB, free: 9.41 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.257e-05/0.5607, allocations: 0 / 1.506 GB, free: 9.41 MB / 1.201 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.005225/0.5659, allocations: 2.82 MB / 1.508 GB, free: 6.543 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.5659, allocations: 12.02 kB / 1.508 GB, free: 6.531 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004761/0.5707, allocations: 0.619 MB / 1.509 GB, free: 5.91 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002932/0.5736, allocations: 1.584 MB / 1.511 GB, free: 4.293 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.5737, allocations: 139.4 kB / 1.511 GB, free: 4.156 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002511/0.574, allocations: 164 kB / 1.511 GB, free: 3.996 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00411/0.5781, allocations: 2.721 MB / 1.514 GB, free: 1.039 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/0.5781, allocations: 0 / 1.514 GB, free: 1.039 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.5783, allocations: 76 kB / 1.514 GB, free: 0.9648 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-05/0.5784, allocations: 44 kB / 1.514 GB, free: 0.9219 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003803/0.5822, allocations: 2.066 MB / 1.516 GB, free: 14.85 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009009/0.5912, allocations: 4.366 MB / 1.52 GB, free: 10.41 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003376/0.5945, allocations: 1.747 MB / 1.522 GB, free: 8.664 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.5959, allocations: 0.71 MB / 1.522 GB, free: 7.945 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004692/0.5964, allocations: 113.2 kB / 1.522 GB, free: 7.836 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002293/0.5987, allocations: 1.635 MB / 1.524 GB, free: 6.031 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.797e-06/0.5987, allocations: 0 / 1.524 GB, free: 6.031 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.008122/0.6068, allocations: 2.613 MB / 1.527 GB, free: 3.398 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.6069, allocations: 201.2 kB / 1.527 GB, free: 3.16 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003958/0.6109, allocations: 1.739 MB / 1.529 GB, free: 1.406 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003012/0.6112, allocations: 57.7 kB / 1.529 GB, free: 1.344 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.6124, allocations: 0.8789 MB / 1.529 GB, free: 464 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006734/0.6131, allocations: 0.4959 MB / 1.53 GB, free: 15.95 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006204/0.6137, allocations: 258.8 kB / 1.53 GB, free: 15.69 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.6139, allocations: 357.7 kB / 1.531 GB, free: 15.34 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001814/0.6157, allocations: 0.6038 MB / 1.531 GB, free: 14.73 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/0.6181, allocations: 1.244 MB / 1.532 GB, free: 13.34 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003694/0.6218, allocations: 1.353 MB / 1.534 GB, free: 11.97 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6218, allocations: 0 / 1.534 GB, free: 11.97 MB / 1.232 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.006203/0.628, allocations: 1.839 MB / 1.535 GB, free: 10.11 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.628, allocations: 11.94 kB / 1.535 GB, free: 10.1 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.6281, allocations: 0 / 1.535 GB, free: 10.1 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001513/0.6296, allocations: 212 kB / 1.536 GB, free: 9.875 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/0.632, allocations: 343.6 kB / 1.536 GB, free: 9.539 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008339/0.6404, allocations: 6.681 MB / 1.543 GB, free: 2.34 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.6427, allocations: 161.3 kB / 1.543 GB, free: 2.188 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/0.6429, allocations: 59.95 kB / 1.543 GB, free: 2.129 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (153): * Single equations (assignments): 148 * 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.001328/0.6443, allocations: 496.9 kB / 1.543 GB, free: 1.637 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005388/0.6448, allocations: 186.8 kB / 1.543 GB, free: 1.453 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006833/0.6516, allocations: 2.125 MB / 1.545 GB, free: 15.29 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.91e-05/0.6517, allocations: 23.92 kB / 1.545 GB, free: 15.27 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.6517, allocations: 7.922 kB / 1.545 GB, free: 15.26 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.102e-05/0.6517, allocations: 11.92 kB / 1.545 GB, free: 15.25 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009979/0.6617, allocations: 3.533 MB / 1.549 GB, free: 11.67 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.6617, allocations: 0 / 1.549 GB, free: 11.67 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/0.6634, allocations: 319.6 kB / 1.549 GB, free: 11.36 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009445/0.6643, allocations: 204.1 kB / 1.549 GB, free: 11.14 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.6644, allocations: 39.97 kB / 1.549 GB, free: 11.1 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006326/0.6707, allocations: 6.712 MB / 1.556 GB, free: 3.863 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.6707, allocations: 0 / 1.556 GB, free: 3.863 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004649/0.6754, allocations: 2.013 MB / 1.558 GB, free: 1.812 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.6765, allocations: 394.2 kB / 1.558 GB, free: 1.426 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.6767, allocations: 32 kB / 1.558 GB, free: 1.395 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001363/0.6781, allocations: 109.6 kB / 1.559 GB, free: 1.289 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.6784, allocations: 129 kB / 1.559 GB, free: 1.16 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.6785, allocations: 67.94 kB / 1.559 GB, free: 1.094 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00176/0.6803, allocations: 1.252 MB / 1.56 GB, free: 15.84 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6803, allocations: 4 kB / 1.56 GB, free: 15.84 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00194/0.6822, allocations: 0.7014 MB / 1.561 GB, free: 15.14 MB / 1.264 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.002533/0.6848, allocations: 0.7686 MB / 1.561 GB, free: 14.57 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003879/0.6886, allocations: 2.055 MB / 1.563 GB, free: 12.45 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.6887, allocations: 0.6562 kB / 1.563 GB, free: 12.45 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002291/0.6909, allocations: 1.375 MB / 1.565 GB, free: 11.01 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/0.6935, allocations: 0.5173 MB / 1.565 GB, free: 10.52 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007373/0.7009, allocations: 3.925 MB / 1.569 GB, free: 6.555 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/0.702, allocations: 0.9782 MB / 1.57 GB, free: 5.539 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001743/0.7038, allocations: 0.4885 MB / 1.57 GB, free: 5.043 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004973/0.7043, allocations: 171.4 kB / 1.571 GB, free: 4.875 MB / 1.264 GB Notification: Performance of SimCode: time 7.92e-07/0.7043, allocations: 3.938 kB / 1.571 GB, free: 4.871 MB / 1.264 GB Notification: Performance of Templates: time 0.05941/0.7637, allocations: 35.12 MB / 1.605 GB, free: 2.254 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.734803496001405]