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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001106/0.001106, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.009341/0.009342, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.432/1.432, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.000382, allocations: 9.594 kB / 0.9028 GB, free: 36.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3329/0.3333, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1786/0.5119, allocations: 163.9 MB / 1.219 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02105/0.533, allocations: 17.18 MB / 1.236 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.5346, allocations: 27.81 kB / 1.236 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.5361, allocations: 481 kB / 1.236 GB, free: 15.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004976/0.5411, allocations: 1.593 MB / 1.238 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003368/0.5445, allocations: 1.277 MB / 1.239 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003903/0.5484, allocations: 3.109 MB / 1.242 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/0.5507, allocations: 1.667 MB / 1.243 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004756/0.5555, allocations: 1.105 MB / 1.245 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.5567, allocations: 0.9097 MB / 1.245 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.5569, allocations: 56 kB / 1.245 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.5598, allocations: 1.505 MB / 1.247 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005258/0.5603, allocations: 0.6032 MB / 1.248 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.5613, allocations: 1.011 MB / 1.249 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.6313/1.193, allocations: 3.419 MB / 1.252 GB, free: 10 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/1.193, allocations: 3.438 kB / 1.252 GB, free: 10 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.996e-06/1.193, allocations: 0 / 1.252 GB, free: 10 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001148/1.193, allocations: 2.906 kB / 1.252 GB, free: 10 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.005498/1.198, allocations: 2.327 MB / 1.254 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/1.198, allocations: 9.812 kB / 1.254 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00423/1.203, allocations: 0.5701 MB / 1.255 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/1.206, allocations: 1.599 MB / 1.256 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001082/1.206, allocations: 128.8 kB / 1.256 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/1.206, allocations: 176.8 kB / 1.257 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003901/1.21, allocations: 1.968 MB / 1.258 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/1.21, allocations: 0.5625 kB / 1.258 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/1.21, allocations: 78.89 kB / 1.259 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/1.21, allocations: 42.41 kB / 1.259 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003752/1.214, allocations: 2.13 MB / 1.261 GB, free: 8.059 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.009826/1.224, allocations: 6.271 MB / 1.267 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003833/1.228, allocations: 2.145 MB / 1.269 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/1.229, allocations: 0.7824 MB / 1.27 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005041/1.23, allocations: 435.8 kB / 1.27 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001989/1.232, allocations: 1.029 MB / 1.271 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=146): time 3.377e-06/1.232, allocations: 0 / 1.271 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=146): time 0.007644/1.24, allocations: 3.03 MB / 1.274 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.623e-05/1.24, allocations: 204.2 kB / 1.274 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/1.242, allocations: 1.824 MB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/1.242, allocations: 60.45 kB / 1.276 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008128/1.243, allocations: 0.8504 MB / 1.277 GB, free: 19.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.000355/1.244, allocations: 478.8 kB / 1.277 GB, free: 19.11 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/1.244, allocations: 112.5 kB / 1.277 GB, free: 19.09 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001778/1.244, allocations: 353.3 kB / 1.278 GB, free: 18.79 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/1.245, allocations: 0.6164 MB / 1.278 GB, free: 18.78 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/1.247, allocations: 0.8174 MB / 1.279 GB, free: 18.63 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002471/1.249, allocations: 1.382 MB / 1.281 GB, free: 18.57 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.249, allocations: 0 / 1.281 GB, free: 18.57 MB / 1.014 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004144/1.253, allocations: 1.857 MB / 1.282 GB, free: 18.36 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/1.253, allocations: 5.469 kB / 1.282 GB, free: 18.36 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.253, allocations: 2.594 kB / 1.282 GB, free: 18.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/1.255, allocations: 214 kB / 1.283 GB, free: 18.31 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/1.256, allocations: 340.9 kB / 1.283 GB, free: 18.31 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005917/1.262, allocations: 6.829 MB / 1.29 GB, free: 11.98 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002228/1.264, allocations: 202.8 kB / 1.29 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/1.265, allocations: 55.39 kB / 1.29 GB, free: 11.91 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: 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.001191/1.266, allocations: 496.7 kB / 1.29 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/1.266, allocations: 186.2 kB / 1.29 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/1.271, allocations: 2.163 MB / 1.293 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/1.271, allocations: 20.06 kB / 1.293 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.271, allocations: 1.531 kB / 1.293 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/1.271, allocations: 9.375 kB / 1.293 GB, free: 11.51 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007762/1.279, allocations: 4.039 MB / 1.297 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.279, allocations: 1.094 kB / 1.297 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001477/1.28, allocations: 325.4 kB / 1.297 GB, free: 11.05 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009338/1.281, allocations: 212.8 kB / 1.297 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001299/1.282, allocations: 41.7 kB / 1.297 GB, free: 11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005667/1.287, allocations: 6.857 MB / 1.304 GB, free: 4.652 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.287, allocations: 2.422 kB / 1.304 GB, free: 4.652 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004515/1.292, allocations: 2.029 MB / 1.306 GB, free: 4.328 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/1.293, allocations: 496.5 kB / 1.306 GB, free: 4.117 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002732/1.293, allocations: 31.59 kB / 1.306 GB, free: 4.117 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001506/1.295, allocations: 160.6 kB / 1.306 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/1.295, allocations: 113.2 kB / 1.307 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/1.295, allocations: 73.5 kB / 1.307 GB, free: 4.098 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001571/1.297, allocations: 1.307 MB / 1.308 GB, free: 3.988 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.6e-07/1.297, allocations: 0 / 1.308 GB, free: 3.988 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001917/1.299, allocations: 0.6908 MB / 1.309 GB, free: 3.879 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: 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.001785/1.3, allocations: 0.7492 MB / 1.309 GB, free: 3.66 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.003544/1.304, allocations: 2.123 MB / 1.311 GB, free: 3.066 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.304, allocations: 3.406 kB / 1.311 GB, free: 3.066 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002068/1.306, allocations: 1.433 MB / 1.313 GB, free: 2.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00291/1.309, allocations: 0.5262 MB / 1.313 GB, free: 2.449 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007421/1.317, allocations: 4.759 MB / 1.318 GB, free: 224 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/1.318, allocations: 1.542 MB / 1.319 GB, free: 15.47 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.002209/1.32, allocations: 0.49 MB / 1.32 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004788/1.32, allocations: 174.8 kB / 1.32 GB, free: 15.32 MB / 1.029 GB Notification: Performance of SimCode: time 1.032e-06/1.32, allocations: 0 / 1.32 GB, free: 15.32 MB / 1.029 GB Notification: Performance of Templates: time 0.05786/1.378, allocations: 30.57 MB / 1.35 GB, free: 5.551 MB / 1.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) 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) Reference file matches