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.001806/0.001806, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.002027/0.002027, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.56/1.56, allocations: 177.1 MB / 203.1 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 178] 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 3.537/3.537, allocations: 429.5 MB / 0.6729 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: 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_latest_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_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0.7656 kB / 0.8774 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.722e-05/2.851e-05, allocations: 5.562 kB / 0.8774 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2398/0.2398, allocations: 164.2 MB / 1.038 GB, free: 1.906 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.02819/0.268, allocations: 17.77 MB / 1.055 GB, free: 88 kB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.2702, allocations: 39.69 kB / 1.055 GB, free: 48 kB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.5125/0.7826, allocations: 0.5618 MB / 1.056 GB, free: 47.66 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.005388/0.788, allocations: 1.87 MB / 1.058 GB, free: 47.66 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003696/0.7917, allocations: 1.466 MB / 1.059 GB, free: 47.66 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003683/0.7954, allocations: 2.976 MB / 1.062 GB, free: 47.66 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001978/0.7974, allocations: 1.576 MB / 1.063 GB, free: 47.49 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005443/0.8028, allocations: 2.133 MB / 1.066 GB, free: 47.32 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.8042, allocations: 0.942 MB / 1.066 GB, free: 47.22 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003697/0.8046, allocations: 229.1 kB / 1.067 GB, free: 47.22 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002848/0.8074, allocations: 1.479 MB / 1.068 GB, free: 47.14 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005904/0.808, allocations: 0.8487 MB / 1.069 GB, free: 47.02 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0009869/0.809, allocations: 0.8445 MB / 1.07 GB, free: 46.92 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00475/0.8138, allocations: 3.858 MB / 1.074 GB, free: 46.54 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.8138, allocations: 0.875 kB / 1.074 GB, free: 46.54 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.736e-06/0.8138, allocations: 0 / 1.074 GB, free: 46.54 MB / 1.01 GB Notification: Performance of Transformations before backend: time 9.068e-05/0.8139, allocations: 0 / 1.074 GB, free: 46.54 MB / 1.01 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.004773/0.8186, allocations: 3.079 MB / 1.077 GB, free: 45.08 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.8187, allocations: 8.25 kB / 1.077 GB, free: 45.08 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004471/0.8231, allocations: 0.8746 MB / 1.077 GB, free: 44.82 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002831/0.826, allocations: 1.381 MB / 1.079 GB, free: 44.41 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/0.8261, allocations: 133 kB / 1.079 GB, free: 44.4 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/0.8263, allocations: 193.7 kB / 1.079 GB, free: 44.4 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/0.8294, allocations: 2.562 MB / 1.082 GB, free: 43.24 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.8295, allocations: 0 / 1.082 GB, free: 43.24 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.8296, allocations: 81.56 kB / 1.082 GB, free: 43.24 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.8297, allocations: 40.72 kB / 1.082 GB, free: 43.24 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002717/0.8324, allocations: 1.631 MB / 1.083 GB, free: 43.22 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008983/0.8414, allocations: 5.384 MB / 1.089 GB, free: 41.77 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002751/0.8441, allocations: 1.3 MB / 1.09 GB, free: 41.71 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.8452, allocations: 0.5419 MB / 1.09 GB, free: 41.7 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004785/0.8456, allocations: 128.8 kB / 1.09 GB, free: 41.7 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/0.8473, allocations: 1.496 MB / 1.092 GB, free: 40.85 MB / 1.01 GB Notification: Performance of pre-optimization done (n=154): time 3.487e-06/0.8473, allocations: 0 / 1.092 GB, free: 40.85 MB / 1.01 GB Notification: Performance of matching and sorting (n=154): time 0.006448/0.8538, allocations: 2.123 MB / 1.094 GB, free: 40.62 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.338e-05/0.8538, allocations: 211.7 kB / 1.094 GB, free: 40.39 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.856, allocations: 1.61 MB / 1.096 GB, free: 40.14 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.000191/0.8562, allocations: 66.86 kB / 1.096 GB, free: 40.11 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007462/0.8569, allocations: 1.002 MB / 1.097 GB, free: 39.73 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004331/0.8574, allocations: 0.5491 MB / 1.097 GB, free: 39.39 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006402/0.858, allocations: 329.6 kB / 1.098 GB, free: 39.36 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.8582, allocations: 0.5688 MB / 1.098 GB, free: 38.88 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.8592, allocations: 430 kB / 1.099 GB, free: 38.87 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.8606, allocations: 1.146 MB / 1.1 GB, free: 38.12 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0021/0.8627, allocations: 1.036 MB / 1.101 GB, free: 38.04 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.8627, allocations: 1.938 kB / 1.101 GB, free: 38.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004053/0.8668, allocations: 1.583 MB / 1.102 GB, free: 37.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.8668, allocations: 6.188 kB / 1.102 GB, free: 37.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8668, allocations: 4.156 kB / 1.102 GB, free: 37.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/0.8684, allocations: 299.2 kB / 1.103 GB, free: 37.74 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/0.8701, allocations: 351.4 kB / 1.103 GB, free: 37.74 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005329/0.8755, allocations: 9.336 MB / 1.112 GB, free: 29.06 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.8773, allocations: 137.5 kB / 1.112 GB, free: 29.01 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001725/0.8774, allocations: 63.67 kB / 1.112 GB, free: 29 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (166): * Single equations (assignments): 161 * 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.0009264/0.8784, allocations: 372.9 kB / 1.113 GB, free: 28.83 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005266/0.8789, allocations: 238.6 kB / 1.113 GB, free: 28.73 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004355/0.8832, allocations: 1.766 MB / 1.115 GB, free: 28.53 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.8833, allocations: 19.69 kB / 1.115 GB, free: 28.53 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.964e-06/0.8833, allocations: 7.359 kB / 1.115 GB, free: 28.53 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/0.8833, allocations: 7.781 kB / 1.115 GB, free: 28.53 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007965/0.8912, allocations: 3.626 MB / 1.118 GB, free: 27.97 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.8913, allocations: 0 / 1.118 GB, free: 27.97 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/0.8928, allocations: 316.1 kB / 1.118 GB, free: 27.97 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.8943, allocations: 290.3 kB / 1.119 GB, free: 27.91 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/0.8945, allocations: 41 kB / 1.119 GB, free: 27.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006915/0.9014, allocations: 9.362 MB / 1.128 GB, free: 35.21 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.9014, allocations: 1 kB / 1.128 GB, free: 35.21 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004989/0.9064, allocations: 1.819 MB / 1.13 GB, free: 34.79 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/0.9081, allocations: 394.8 kB / 1.13 GB, free: 34.67 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003063/0.9084, allocations: 33.19 kB / 1.13 GB, free: 34.67 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.9096, allocations: 83.53 kB / 1.13 GB, free: 34.67 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003486/0.91, allocations: 126 kB / 1.13 GB, free: 34.67 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/0.9101, allocations: 72.45 kB / 1.13 GB, free: 34.67 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001616/0.9118, allocations: 0.9718 MB / 1.131 GB, free: 34.52 MB / 1.026 GB Notification: Performance of sort global known variables: time 1e-07/0.9118, allocations: 1.125 kB / 1.131 GB, free: 34.52 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.002431/0.9142, allocations: 0.7302 MB / 1.132 GB, free: 34.39 MB / 1.026 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.004062/0.9182, allocations: 0.8076 MB / 1.133 GB, free: 34.17 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.00424/0.9225, allocations: 2.08 MB / 1.135 GB, free: 33.27 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.9225, allocations: 2.75 kB / 1.135 GB, free: 33.27 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.002419/0.9249, allocations: 1.562 MB / 1.136 GB, free: 32.39 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/0.9281, allocations: 0.5792 MB / 1.137 GB, free: 32.32 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006633/0.9347, allocations: 3.585 MB / 1.14 GB, free: 30.82 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.936, allocations: 0.9467 MB / 1.141 GB, free: 30.61 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001957/0.938, allocations: 455.6 kB / 1.142 GB, free: 30.53 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005409/0.9385, allocations: 176.7 kB / 1.142 GB, free: 30.51 MB / 1.026 GB Notification: Performance of SimCode: time 1.563e-06/0.9385, allocations: 0 / 1.142 GB, free: 30.51 MB / 1.026 GB Notification: Performance of Templates: time 0.05132/0.9898, allocations: 32.5 MB / 1.174 GB, free: 26.39 MB / 1.026 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 240] 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: 10.95098844403401]