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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 201.6 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002062/0.002062, allocations: 71.88 kB / 1.109 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8102/0.8123, allocations: 168.7 MB / 1.274 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.2024/1.015, allocations: 169.2 MB / 1.439 GB, free: 10.76 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0311/1.046, allocations: 17.66 MB / 1.456 GB, free: 9.047 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/1.048, allocations: 31.81 kB / 1.457 GB, free: 9.016 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002396/1.05, allocations: 0.5895 MB / 1.457 GB, free: 8.422 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005908/1.056, allocations: 1.82 MB / 1.459 GB, free: 6.598 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.004163/1.06, allocations: 1.472 MB / 1.46 GB, free: 5.137 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004319/1.065, allocations: 2.898 MB / 1.463 GB, free: 2.227 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002917/1.068, allocations: 1.593 MB / 1.465 GB, free: 0.5742 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004857/1.073, allocations: 1.485 MB / 1.466 GB, free: 15.13 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/1.075, allocations: 1.155 MB / 1.467 GB, free: 13.97 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0007034/1.076, allocations: 220 kB / 1.467 GB, free: 13.76 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003857/1.079, allocations: 1.603 MB / 1.469 GB, free: 12.15 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001086/1.08, allocations: 0.8023 MB / 1.47 GB, free: 11.35 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002313/1.083, allocations: 1.224 MB / 1.471 GB, free: 10.12 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.006587/1.089, allocations: 3.631 MB / 1.475 GB, free: 6.473 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/1.089, allocations: 3.938 kB / 1.475 GB, free: 6.469 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.924e-06/1.089, allocations: 0 / 1.475 GB, free: 6.469 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.039e-05/1.089, allocations: 0 / 1.475 GB, free: 6.469 MB / 1.17 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.006043/1.095, allocations: 2.872 MB / 1.477 GB, free: 3.527 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/1.096, allocations: 8.031 kB / 1.477 GB, free: 3.52 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004031/1.1, allocations: 0.576 MB / 1.478 GB, free: 2.941 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00404/1.104, allocations: 1.648 MB / 1.48 GB, free: 1.242 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/1.104, allocations: 127.4 kB / 1.48 GB, free: 1.117 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004831/1.104, allocations: 172 kB / 1.48 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005184/1.109, allocations: 1.96 MB / 1.482 GB, free: 14.94 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/1.109, allocations: 7.922 kB / 1.482 GB, free: 14.93 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/1.11, allocations: 72 kB / 1.482 GB, free: 14.86 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.117e-05/1.11, allocations: 44 kB / 1.482 GB, free: 14.82 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004666/1.114, allocations: 2.113 MB / 1.484 GB, free: 12.7 MB / 1.186 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.01295/1.127, allocations: 6.196 MB / 1.49 GB, free: 6.16 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004143/1.132, allocations: 2.039 MB / 1.492 GB, free: 4.055 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00155/1.133, allocations: 0.7178 MB / 1.493 GB, free: 3.324 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007127/1.134, allocations: 433.6 kB / 1.493 GB, free: 2.828 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002316/1.136, allocations: 1.017 MB / 1.494 GB, free: 1.789 MB / 1.186 GB Notification: Performance of pre-optimization done (n=146): time 4.909e-06/1.136, allocations: 0 / 1.494 GB, free: 1.789 MB / 1.186 GB Notification: Performance of matching and sorting (n=146): time 0.008227/1.144, allocations: 2.994 MB / 1.497 GB, free: 14.68 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/1.145, allocations: 201.2 kB / 1.497 GB, free: 14.45 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003318/1.148, allocations: 1.83 MB / 1.499 GB, free: 12.61 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002401/1.148, allocations: 57.7 kB / 1.499 GB, free: 12.54 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009582/1.149, allocations: 0.86 MB / 1.5 GB, free: 11.67 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005784/1.15, allocations: 0.4996 MB / 1.5 GB, free: 11.17 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005361/1.15, allocations: 258.8 kB / 1.501 GB, free: 10.91 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002266/1.15, allocations: 357.9 kB / 1.501 GB, free: 10.55 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001404/1.152, allocations: 0.5999 MB / 1.502 GB, free: 9.953 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001624/1.153, allocations: 0.8131 MB / 1.502 GB, free: 9.09 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003128/1.157, allocations: 1.357 MB / 1.504 GB, free: 7.723 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.157, allocations: 4 kB / 1.504 GB, free: 7.719 MB / 1.201 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004715/1.161, allocations: 1.843 MB / 1.505 GB, free: 5.852 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/1.161, allocations: 7.938 kB / 1.505 GB, free: 5.844 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.161, allocations: 4 kB / 1.505 GB, free: 5.84 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/1.162, allocations: 220 kB / 1.506 GB, free: 5.609 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/1.164, allocations: 335.6 kB / 1.506 GB, free: 5.281 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007949/1.172, allocations: 7.32 MB / 1.513 GB, free: 13.25 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/1.174, allocations: 183.1 kB / 1.513 GB, free: 13.07 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003097/1.174, allocations: 55.97 kB / 1.513 GB, free: 13.01 MB / 1.217 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.001355/1.176, allocations: 487.2 kB / 1.514 GB, free: 12.53 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006568/1.176, allocations: 194.8 kB / 1.514 GB, free: 12.34 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005752/1.182, allocations: 2.137 MB / 1.516 GB, free: 10.17 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.182, allocations: 16 kB / 1.516 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/1.182, allocations: 4 kB / 1.516 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.098e-05/1.182, allocations: 11.95 kB / 1.516 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009096/1.191, allocations: 4.022 MB / 1.52 GB, free: 6.043 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.191, allocations: 0 / 1.52 GB, free: 6.043 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001669/1.193, allocations: 319.5 kB / 1.52 GB, free: 5.73 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009687/1.194, allocations: 196.1 kB / 1.521 GB, free: 5.523 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/1.194, allocations: 51.83 kB / 1.521 GB, free: 5.473 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007884/1.202, allocations: 7.352 MB / 1.528 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/1.202, allocations: 3.938 kB / 1.528 GB, free: 13.41 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00567/1.208, allocations: 2.028 MB / 1.53 GB, free: 11.35 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001325/1.209, allocations: 483.2 kB / 1.53 GB, free: 10.86 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005146/1.21, allocations: 28 kB / 1.53 GB, free: 10.83 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001836/1.211, allocations: 112.2 kB / 1.53 GB, free: 10.72 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003239/1.212, allocations: 117.1 kB / 1.53 GB, free: 10.61 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002212/1.212, allocations: 71.95 kB / 1.531 GB, free: 10.54 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002953/1.215, allocations: 1.306 MB / 1.532 GB, free: 9.234 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/1.215, allocations: 4 kB / 1.532 GB, free: 9.23 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002512/1.217, allocations: 0.686 MB / 1.533 GB, free: 8.543 MB / 1.232 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.002723/1.22, allocations: 0.7612 MB / 1.533 GB, free: 7.977 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004631/1.225, allocations: 2.051 MB / 1.535 GB, free: 5.863 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.225, allocations: 4.5 kB / 1.535 GB, free: 5.855 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002726/1.228, allocations: 1.371 MB / 1.537 GB, free: 4.418 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003171/1.231, allocations: 0.5596 MB / 1.537 GB, free: 3.883 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008796/1.239, allocations: 3.917 MB / 1.541 GB, free: 15.93 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001854/1.241, allocations: 1.545 MB / 1.542 GB, free: 14.35 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002194/1.244, allocations: 0.497 MB / 1.543 GB, free: 13.85 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007359/1.244, allocations: 179.3 kB / 1.543 GB, free: 13.68 MB / 1.248 GB Notification: Performance of SimCode: time 7.61e-07/1.244, allocations: 0 / 1.543 GB, free: 13.68 MB / 1.248 GB Notification: Performance of Templates: time 0.07023/1.314, allocations: 33.16 MB / 1.576 GB, free: 12.88 MB / 1.279 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.70693939877674]