Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.winDir|symNor.CpAct|symWes.CpAct|asyNor.CpAct|asyWes.CpAct",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007794/0.007795, allocations: 99.83 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.412/2.412, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001277, allocations: 63.91 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8752/0.8765, allocations: 151.6 MB / 1.167 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1818/1.058, allocations: 168.5 MB / 1.331 GB, free: 10.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02247/1.081, allocations: 17.35 MB / 1.348 GB, free: 9.336 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/1.082, allocations: 31.81 kB / 1.348 GB, free: 9.305 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001586/1.084, allocations: 0.5895 MB / 1.349 GB, free: 8.711 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004767/1.089, allocations: 1.817 MB / 1.35 GB, free: 6.891 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003412/1.092, allocations: 1.453 MB / 1.352 GB, free: 5.453 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003169/1.095, allocations: 2.887 MB / 1.355 GB, free: 2.559 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002754/1.098, allocations: 1.948 MB / 1.357 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003815/1.102, allocations: 1.473 MB / 1.358 GB, free: 15.13 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/1.103, allocations: 1.113 MB / 1.359 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003221/1.104, allocations: 224 kB / 1.359 GB, free: 13.8 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003074/1.107, allocations: 1.564 MB / 1.361 GB, free: 12.23 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007311/1.107, allocations: 0.7907 MB / 1.362 GB, free: 11.44 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001244/1.109, allocations: 1.24 MB / 1.363 GB, free: 10.19 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.005052/1.114, allocations: 3.631 MB / 1.366 GB, free: 6.547 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.114, allocations: 0 / 1.366 GB, free: 6.547 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.563e-06/1.114, allocations: 0 / 1.366 GB, free: 6.547 MB / 1.092 GB Notification: Performance of Transformations before backend: time 3.391e-05/1.114, allocations: 0 / 1.366 GB, free: 6.547 MB / 1.092 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.004552/1.118, allocations: 2.864 MB / 1.369 GB, free: 3.617 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/1.118, allocations: 12.92 kB / 1.369 GB, free: 3.605 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003475/1.122, allocations: 0.5682 MB / 1.37 GB, free: 3.035 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/1.124, allocations: 1.656 MB / 1.371 GB, free: 1.328 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/1.125, allocations: 131.4 kB / 1.372 GB, free: 1.199 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/1.125, allocations: 168 kB / 1.372 GB, free: 1.035 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/1.128, allocations: 1.96 MB / 1.374 GB, free: 15.02 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/1.128, allocations: 0 / 1.374 GB, free: 15.02 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001561/1.129, allocations: 68 kB / 1.374 GB, free: 14.96 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/1.129, allocations: 44 kB / 1.374 GB, free: 14.91 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00365/1.132, allocations: 2.12 MB / 1.376 GB, free: 12.79 MB / 1.107 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.009163/1.141, allocations: 6.21 MB / 1.382 GB, free: 6.238 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003433/1.145, allocations: 2.131 MB / 1.384 GB, free: 4.02 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/1.146, allocations: 0.7686 MB / 1.385 GB, free: 3.254 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007579/1.147, allocations: 441.5 kB / 1.385 GB, free: 2.746 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001826/1.149, allocations: 1.021 MB / 1.386 GB, free: 1.707 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 2.946e-06/1.149, allocations: 0 / 1.386 GB, free: 1.707 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.007062/1.156, allocations: 3.001 MB / 1.389 GB, free: 14.59 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/1.156, allocations: 197.2 kB / 1.389 GB, free: 14.36 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002403/1.158, allocations: 1.829 MB / 1.391 GB, free: 12.52 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001344/1.159, allocations: 61.7 kB / 1.391 GB, free: 12.45 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008898/1.159, allocations: 0.8639 MB / 1.392 GB, free: 11.57 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004224/1.16, allocations: 0.4918 MB / 1.392 GB, free: 11.08 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004315/1.16, allocations: 258.8 kB / 1.393 GB, free: 10.82 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.161, allocations: 357.9 kB / 1.393 GB, free: 10.46 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/1.162, allocations: 0.6038 MB / 1.394 GB, free: 9.859 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/1.163, allocations: 0.8131 MB / 1.394 GB, free: 8.996 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002532/1.166, allocations: 1.36 MB / 1.396 GB, free: 7.621 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/1.166, allocations: 0 / 1.396 GB, free: 7.621 MB / 1.123 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004044/1.17, allocations: 1.839 MB / 1.397 GB, free: 5.758 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/1.17, allocations: 11.94 kB / 1.397 GB, free: 5.746 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.445e-06/1.17, allocations: 4.062 kB / 1.397 GB, free: 5.742 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/1.171, allocations: 208 kB / 1.398 GB, free: 5.523 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/1.173, allocations: 339.6 kB / 1.398 GB, free: 5.191 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006849/1.179, allocations: 7.325 MB / 1.405 GB, free: 13.17 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/1.181, allocations: 168.3 kB / 1.405 GB, free: 13 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.181, allocations: 60.09 kB / 1.405 GB, free: 12.95 MB / 1.139 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.00104/1.182, allocations: 491.2 kB / 1.406 GB, free: 12.46 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003867/1.183, allocations: 194.8 kB / 1.406 GB, free: 12.27 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004677/1.187, allocations: 2.145 MB / 1.408 GB, free: 10.09 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/1.187, allocations: 16 kB / 1.408 GB, free: 10.08 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/1.187, allocations: 4 kB / 1.408 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/1.187, allocations: 7.969 kB / 1.408 GB, free: 10.07 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007307/1.195, allocations: 4.021 MB / 1.412 GB, free: 5.965 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/1.195, allocations: 11.88 kB / 1.412 GB, free: 5.953 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001462/1.196, allocations: 315.6 kB / 1.412 GB, free: 5.645 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008733/1.197, allocations: 208 kB / 1.413 GB, free: 5.426 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/1.197, allocations: 39.97 kB / 1.413 GB, free: 5.387 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005736/1.203, allocations: 7.344 MB / 1.42 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/1.203, allocations: 8.062 kB / 1.42 GB, free: 13.33 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00443/1.207, allocations: 2.017 MB / 1.422 GB, free: 11.28 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001035/1.209, allocations: 491.4 kB / 1.422 GB, free: 10.78 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/1.209, allocations: 32 kB / 1.422 GB, free: 10.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.21, allocations: 106.3 kB / 1.422 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/1.21, allocations: 121.1 kB / 1.422 GB, free: 10.53 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001547/1.21, allocations: 71.94 kB / 1.423 GB, free: 10.46 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001733/1.212, allocations: 1.31 MB / 1.424 GB, free: 9.152 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.6e-07/1.212, allocations: 0 / 1.424 GB, free: 9.152 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001774/1.214, allocations: 0.6937 MB / 1.425 GB, free: 8.457 MB / 1.154 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.001792/1.216, allocations: 0.7538 MB / 1.425 GB, free: 7.859 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003705/1.219, allocations: 2.109 MB / 1.427 GB, free: 5.684 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.219, allocations: 4.562 kB / 1.427 GB, free: 5.68 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00218/1.222, allocations: 1.43 MB / 1.429 GB, free: 4.188 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/1.224, allocations: 0.5464 MB / 1.429 GB, free: 3.656 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00677/1.231, allocations: 3.911 MB / 1.433 GB, free: 15.7 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/1.232, allocations: 1.538 MB / 1.435 GB, free: 14.13 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001723/1.234, allocations: 0.4892 MB / 1.435 GB, free: 13.64 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/1.234, allocations: 175.4 kB / 1.435 GB, free: 13.46 MB / 1.17 GB Notification: Performance of SimCode: time 6.52e-07/1.234, allocations: 0 / 1.435 GB, free: 13.46 MB / 1.17 GB Notification: Performance of Templates: time 0.05258/1.287, allocations: 32.47 MB / 1.467 GB, free: 13.3 MB / 1.201 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches