Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001348/0.001348, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001934/0.001934, allocations: 166.6 kB / 22.46 MB, free: 5.359 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.457/1.457, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.654/2.654, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.076e-05/3.254e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2102/0.2103, allocations: 148.3 MB / 1.096 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.7431/0.9533, allocations: 16.15 MB / 1.112 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.9555, allocations: 42.09 kB / 1.112 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.9573, allocations: 0.567 MB / 1.112 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006721/0.9641, allocations: 1.884 MB / 1.114 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004896/0.969, allocations: 1.501 MB / 1.115 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00565/0.9746, allocations: 3.002 MB / 1.118 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003223/0.9778, allocations: 1.607 MB / 1.12 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00662/0.9844, allocations: 2.025 MB / 1.122 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.9866, allocations: 0.9467 MB / 1.123 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000455/0.987, allocations: 228.8 kB / 1.123 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00423/0.9912, allocations: 1.484 MB / 1.125 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009345/0.9922, allocations: 0.8485 MB / 1.125 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001525/0.9937, allocations: 0.8477 MB / 1.126 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.009398/1.003, allocations: 3.861 MB / 1.13 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.003, allocations: 0.9375 kB / 1.13 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.595e-06/1.003, allocations: 0.5625 kB / 1.13 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001541/1.003, allocations: 1.625 kB / 1.13 GB, free: 10.99 MB / 0.9981 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.01005/1.013, allocations: 2.824 MB / 1.133 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/1.013, allocations: 10.91 kB / 1.133 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005924/1.019, allocations: 0.629 MB / 1.133 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005172/1.024, allocations: 1.598 MB / 1.135 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/1.025, allocations: 132.2 kB / 1.135 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007511/1.025, allocations: 179.5 kB / 1.135 GB, free: 9.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005156/1.031, allocations: 2.729 MB / 1.138 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.443e-05/1.031, allocations: 5.281 kB / 1.138 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002748/1.031, allocations: 77.95 kB / 1.138 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-05/1.031, allocations: 45.72 kB / 1.138 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004315/1.035, allocations: 2.071 MB / 1.14 GB, free: 7.918 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01138/1.047, allocations: 4.429 MB / 1.144 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003689/1.05, allocations: 1.774 MB / 1.146 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/1.052, allocations: 0.7393 MB / 1.147 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005053/1.052, allocations: 119.2 kB / 1.147 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002093/1.054, allocations: 1.634 MB / 1.148 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=154): time 3.406e-06/1.054, allocations: 0 / 1.148 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of matching and sorting (n=154): time 0.007631/1.062, allocations: 2.661 MB / 1.151 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/1.062, allocations: 205.8 kB / 1.151 GB, free: 5.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003067/1.065, allocations: 1.748 MB / 1.153 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003933/1.066, allocations: 67.42 kB / 1.153 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007622/1.066, allocations: 0.8818 MB / 1.154 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004596/1.067, allocations: 0.5141 MB / 1.154 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004894/1.067, allocations: 274.5 kB / 1.155 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/1.067, allocations: 359 kB / 1.155 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/1.069, allocations: 0.6304 MB / 1.156 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/1.07, allocations: 1.282 MB / 1.157 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002699/1.073, allocations: 1.417 MB / 1.158 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.073, allocations: 0.9375 kB / 1.158 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.004621/1.078, allocations: 1.928 MB / 1.16 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.078, allocations: 5.5 kB / 1.16 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.078, allocations: 0 / 1.16 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001099/1.079, allocations: 206 kB / 1.16 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/1.08, allocations: 349.6 kB / 1.161 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006197/1.087, allocations: 6.672 MB / 1.167 GB, free: 12.47 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/1.089, allocations: 165.3 kB / 1.167 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/1.089, allocations: 59.8 kB / 1.167 GB, free: 12.38 MB / 1.014 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.001583/1.091, allocations: 0.4948 MB / 1.168 GB, free: 12.11 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000675/1.092, allocations: 190 kB / 1.168 GB, free: 12.01 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004847/1.096, allocations: 2.182 MB / 1.17 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/1.096, allocations: 15.16 kB / 1.17 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.096, allocations: 3.812 kB / 1.17 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/1.096, allocations: 8.484 kB / 1.17 GB, free: 11.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008547/1.105, allocations: 3.776 MB / 1.174 GB, free: 9.652 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/1.105, allocations: 0 / 1.174 GB, free: 9.652 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/1.106, allocations: 326.8 kB / 1.174 GB, free: 9.645 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000902/1.107, allocations: 202.8 kB / 1.174 GB, free: 9.574 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/1.107, allocations: 42.75 kB / 1.174 GB, free: 9.555 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006922/1.114, allocations: 6.705 MB / 1.181 GB, free: 3.141 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/1.114, allocations: 7.781 kB / 1.181 GB, free: 3.137 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005111/1.119, allocations: 2.068 MB / 1.183 GB, free: 2.305 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.121, allocations: 404.1 kB / 1.183 GB, free: 2.09 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002534/1.121, allocations: 28.84 kB / 1.183 GB, free: 2.07 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.122, allocations: 113.6 kB / 1.184 GB, free: 2.043 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/1.122, allocations: 125.1 kB / 1.184 GB, free: 2.02 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/1.123, allocations: 68.53 kB / 1.184 GB, free: 2.008 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001816/1.124, allocations: 1.251 MB / 1.185 GB, free: 1.578 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/1.124, allocations: 0 / 1.185 GB, free: 1.578 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002647/1.127, allocations: 0.7129 MB / 1.186 GB, free: 1.398 MB / 1.014 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 (157): * Single equations (assignments): 142 * 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.002809/1.13, allocations: 0.8195 MB / 1.186 GB, free: 1.133 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004172/1.134, allocations: 2.111 MB / 1.189 GB, free: 128 kB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.134, allocations: 4.969 kB / 1.189 GB, free: 128 kB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002421/1.136, allocations: 1.402 MB / 1.19 GB, free: 15.4 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/1.139, allocations: 0.5102 MB / 1.19 GB, free: 15.22 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007714/1.147, allocations: 3.942 MB / 1.194 GB, free: 13.4 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/1.148, allocations: 0.9742 MB / 1.195 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002001/1.15, allocations: 0.4905 MB / 1.196 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/1.151, allocations: 177.2 kB / 1.196 GB, free: 13.04 MB / 1.029 GB Notification: Performance of SimCode: time 1.553e-06/1.151, allocations: 0 / 1.196 GB, free: 13.04 MB / 1.029 GB Notification: Performance of Templates: time 0.06023/1.211, allocations: 32.22 MB / 1.227 GB, free: 13.98 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.396851148456335]