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.001357/0.001357, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.001485/0.001485, allocations: 157.1 kB / 23.01 MB, free: 4.941 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.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.611/2.611, allocations: 359.1 MB / 0.6044 GB, free: 14.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002047/0.002047, allocations: 59.91 kB / 0.9515 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3076, allocations: 169.9 MB / 1.117 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.7677/1.075, allocations: 148.3 MB / 1.262 GB, free: 12.11 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02707/1.102, allocations: 16.21 MB / 1.278 GB, free: 1.207 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00202/1.104, allocations: 43.12 kB / 1.278 GB, free: 1.184 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.002042/1.106, allocations: 0.5636 MB / 1.279 GB, free: 0.8438 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006478/1.113, allocations: 1.853 MB / 1.281 GB, free: 15.84 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.004645/1.118, allocations: 1.474 MB / 1.282 GB, free: 15.04 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.004961/1.123, allocations: 2.911 MB / 1.285 GB, free: 13.62 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003144/1.126, allocations: 1.574 MB / 1.286 GB, free: 12.8 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005377/1.131, allocations: 1.533 MB / 1.288 GB, free: 12.15 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/1.133, allocations: 1.056 MB / 1.289 GB, free: 11.7 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0004797/1.134, allocations: 223.7 kB / 1.289 GB, free: 11.7 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004169/1.138, allocations: 1.466 MB / 1.29 GB, free: 11.28 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/1.139, allocations: 0.8133 MB / 1.291 GB, free: 10.87 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001715/1.141, allocations: 1.008 MB / 1.292 GB, free: 10.31 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.007077/1.148, allocations: 3.684 MB / 1.296 GB, free: 8.859 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.148, allocations: 1.312 kB / 1.296 GB, free: 8.859 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.304e-06/1.148, allocations: 0 / 1.296 GB, free: 8.859 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0001022/1.148, allocations: 1.781 kB / 1.296 GB, free: 8.859 MB / 1.139 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.006467/1.155, allocations: 2.816 MB / 1.299 GB, free: 7.121 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.155, allocations: 9.125 kB / 1.299 GB, free: 7.121 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004605/1.159, allocations: 0.6248 MB / 1.299 GB, free: 6.953 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003332/1.163, allocations: 1.584 MB / 1.301 GB, free: 6.102 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/1.163, allocations: 130.3 kB / 1.301 GB, free: 6.043 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/1.163, allocations: 169.7 kB / 1.301 GB, free: 5.988 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004327/1.167, allocations: 2.724 MB / 1.304 GB, free: 3.898 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.6e-05/1.167, allocations: 0 / 1.304 GB, free: 3.898 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/1.167, allocations: 73.78 kB / 1.304 GB, free: 3.844 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.575e-05/1.168, allocations: 45.95 kB / 1.304 GB, free: 3.84 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003866/1.171, allocations: 2.066 MB / 1.306 GB, free: 2.875 MB / 1.139 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.009532/1.181, allocations: 4.366 MB / 1.31 GB, free: 15.95 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003244/1.184, allocations: 1.736 MB / 1.312 GB, free: 15.15 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/1.185, allocations: 0.713 MB / 1.313 GB, free: 14.82 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004432/1.186, allocations: 113.9 kB / 1.313 GB, free: 14.78 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002239/1.188, allocations: 1.629 MB / 1.314 GB, free: 13.44 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 3.807e-06/1.188, allocations: 4 kB / 1.314 GB, free: 13.43 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.007427/1.196, allocations: 2.608 MB / 1.317 GB, free: 11.59 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/1.196, allocations: 197.2 kB / 1.317 GB, free: 11.35 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002819/1.198, allocations: 1.747 MB / 1.319 GB, free: 9.59 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000265/1.199, allocations: 61.7 kB / 1.319 GB, free: 9.523 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009877/1.2, allocations: 0.8788 MB / 1.32 GB, free: 8.637 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005888/1.2, allocations: 0.4996 MB / 1.32 GB, free: 8.133 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005032/1.201, allocations: 266.7 kB / 1.32 GB, free: 7.863 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000182/1.201, allocations: 353.9 kB / 1.321 GB, free: 7.512 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/1.202, allocations: 0.6038 MB / 1.321 GB, free: 6.91 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/1.204, allocations: 1.244 MB / 1.322 GB, free: 5.508 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002906/1.207, allocations: 1.357 MB / 1.324 GB, free: 4.145 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.207, allocations: 4 kB / 1.324 GB, free: 4.141 MB / 1.154 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004783/1.212, allocations: 1.839 MB / 1.326 GB, free: 2.277 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/1.212, allocations: 5.875 kB / 1.326 GB, free: 2.273 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/1.212, allocations: 0 / 1.326 GB, free: 2.273 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/1.213, allocations: 212.1 kB / 1.326 GB, free: 2.051 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/1.215, allocations: 347.5 kB / 1.326 GB, free: 1.711 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006855/1.222, allocations: 6.665 MB / 1.333 GB, free: 10.53 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/1.224, allocations: 171.2 kB / 1.333 GB, free: 10.36 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002607/1.224, allocations: 47.97 kB / 1.333 GB, free: 10.31 MB / 1.17 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.001274/1.225, allocations: 499.3 kB / 1.333 GB, free: 9.82 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006773/1.226, allocations: 186.9 kB / 1.334 GB, free: 9.637 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005415/1.231, allocations: 2.14 MB / 1.336 GB, free: 7.465 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/1.231, allocations: 16 kB / 1.336 GB, free: 7.449 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.231, allocations: 0 / 1.336 GB, free: 7.449 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.981e-05/1.231, allocations: 11.91 kB / 1.336 GB, free: 7.438 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00862/1.24, allocations: 3.537 MB / 1.339 GB, free: 3.844 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.24, allocations: 0 / 1.339 GB, free: 3.844 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001608/1.242, allocations: 323.6 kB / 1.339 GB, free: 3.527 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009827/1.243, allocations: 196.1 kB / 1.34 GB, free: 3.32 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/1.243, allocations: 43.95 kB / 1.34 GB, free: 3.277 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007319/1.25, allocations: 6.724 MB / 1.346 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.25, allocations: 0 / 1.346 GB, free: 12.04 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005358/1.255, allocations: 2.017 MB / 1.348 GB, free: 9.984 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.257, allocations: 406.1 kB / 1.349 GB, free: 9.586 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000515/1.257, allocations: 28 kB / 1.349 GB, free: 9.559 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/1.259, allocations: 103.9 kB / 1.349 GB, free: 9.457 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/1.259, allocations: 125.1 kB / 1.349 GB, free: 9.332 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/1.259, allocations: 67.94 kB / 1.349 GB, free: 9.266 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.002249/1.262, allocations: 1.248 MB / 1.35 GB, free: 8.02 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.262, allocations: 0 / 1.35 GB, free: 8.02 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002659/1.264, allocations: 0.7054 MB / 1.351 GB, free: 7.312 MB / 1.186 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.003168/1.268, allocations: 0.7823 MB / 1.352 GB, free: 6.738 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004483/1.272, allocations: 2.055 MB / 1.354 GB, free: 4.617 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.272, allocations: 0.6562 kB / 1.354 GB, free: 4.613 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002616/1.275, allocations: 1.371 MB / 1.355 GB, free: 3.18 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/1.278, allocations: 0.5219 MB / 1.355 GB, free: 2.684 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008777/1.287, allocations: 3.933 MB / 1.359 GB, free: 14.71 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001557/1.288, allocations: 0.9698 MB / 1.36 GB, free: 13.71 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.002185/1.29, allocations: 0.4923 MB / 1.361 GB, free: 13.21 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006755/1.291, allocations: 168.4 kB / 1.361 GB, free: 13.04 MB / 1.201 GB Notification: Performance of SimCode: time 9.42e-07/1.291, allocations: 0 / 1.361 GB, free: 13.04 MB / 1.201 GB Notification: Performance of Templates: time 0.06088/1.352, allocations: 31.93 MB / 1.392 GB, free: 13.66 MB / 1.232 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 ida -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/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.336678382009268]