Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001002/0.001002, allocations: 91.22 kB / 15.06 MB, free: 1.094 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.001368/0.001368, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.427/2.427, allocations: 390.9 MB / 0.666 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003831, allocations: 8 kB / 0.8153 GB, free: 13.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7061/0.7065, allocations: 142.4 MB / 0.9544 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1867/0.8932, allocations: 151.8 MB / 1.103 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02822/0.9215, allocations: 15.96 MB / 1.118 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.923, allocations: 27.81 kB / 1.118 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001436/0.9245, allocations: 377.3 kB / 1.119 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004487/0.929, allocations: 1.324 MB / 1.12 GB, free: 5.641 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.9324, allocations: 1.105 MB / 1.121 GB, free: 4.551 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003685/0.9361, allocations: 2.579 MB / 1.124 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0027/0.9388, allocations: 1.511 MB / 1.125 GB, free: 432 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002594/0.9414, allocations: 1.004 MB / 1.126 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.9429, allocations: 0.8554 MB / 1.127 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000209/0.9431, allocations: 48 kB / 1.127 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002887/0.946, allocations: 1.018 MB / 1.128 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006538/0.9467, allocations: 0.5878 MB / 1.128 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006095/0.9473, allocations: 408.5 kB / 1.129 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003473/0.9508, allocations: 2.54 MB / 1.131 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.9508, allocations: 0 / 1.131 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9508, allocations: 4 kB / 1.131 GB, free: 9.941 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.202e-05/0.9509, allocations: 0 / 1.131 GB, free: 9.941 MB / 0.8887 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.004376/0.9552, allocations: 2.315 MB / 1.134 GB, free: 7.562 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.9553, allocations: 8.031 kB / 1.134 GB, free: 7.555 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003569/0.9589, allocations: 0.5708 MB / 1.134 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0032/0.9621, allocations: 1.546 MB / 1.136 GB, free: 5.383 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.9623, allocations: 127.4 kB / 1.136 GB, free: 5.258 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003612/0.9627, allocations: 176 kB / 1.136 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003993/0.9667, allocations: 1.952 MB / 1.138 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.9667, allocations: 3.938 kB / 1.138 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.9669, allocations: 76 kB / 1.138 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/0.967, allocations: 40 kB / 1.138 GB, free: 2.965 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003615/0.9706, allocations: 2.124 MB / 1.14 GB, free: 0.8359 MB / 0.8887 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.01005/0.9806, allocations: 5.9 MB / 1.146 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003377/0.984, allocations: 2.132 MB / 1.148 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.9853, allocations: 0.7764 MB / 1.149 GB, free: 7.691 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005596/0.9859, allocations: 425.6 kB / 1.149 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/0.9876, allocations: 1.021 MB / 1.15 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=146): time 3.025e-06/0.9877, allocations: 0 / 1.15 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=146): time 0.00644/0.9941, allocations: 3.016 MB / 1.153 GB, free: 3.031 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.9942, allocations: 209.2 kB / 1.153 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/0.9966, allocations: 1.806 MB / 1.155 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/0.9967, allocations: 61.7 kB / 1.155 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006953/0.9975, allocations: 0.8469 MB / 1.156 GB, free: 44 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/0.9979, allocations: 481.1 kB / 1.156 GB, free: 15.56 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.953e-05/0.998, allocations: 24 kB / 1.156 GB, free: 15.54 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.9981, allocations: 361.8 kB / 1.157 GB, free: 15.18 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.9993, allocations: 0.6116 MB / 1.157 GB, free: 14.57 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/1.001, allocations: 0.8131 MB / 1.158 GB, free: 13.7 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/1.002, allocations: 0.6857 MB / 1.159 GB, free: 13.02 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/1.002, allocations: 0 / 1.159 GB, free: 13.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003818/1.006, allocations: 1.846 MB / 1.161 GB, free: 11.15 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/1.006, allocations: 13.67 kB / 1.161 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.006, allocations: 0 / 1.161 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/1.007, allocations: 212.2 kB / 1.161 GB, free: 10.92 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001633/1.008, allocations: 343.5 kB / 1.161 GB, free: 10.58 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005757/1.014, allocations: 6.804 MB / 1.168 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/1.016, allocations: 204.2 kB / 1.168 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/1.016, allocations: 51.95 kB / 1.168 GB, free: 2.855 MB / 0.92 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009452/1.017, allocations: 495 kB / 1.168 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003015/1.017, allocations: 185.9 kB / 1.169 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004385/1.022, allocations: 2.168 MB / 1.171 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/1.022, allocations: 16 kB / 1.171 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/1.022, allocations: 7.953 kB / 1.171 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4e-05/1.022, allocations: 11.86 kB / 1.171 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006566/1.028, allocations: 4.023 MB / 1.175 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/1.028, allocations: 0 / 1.175 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/1.03, allocations: 323.6 kB / 1.175 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008788/1.031, allocations: 212 kB / 1.175 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/1.031, allocations: 39.97 kB / 1.175 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005378/1.036, allocations: 6.843 MB / 1.182 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.036, allocations: 0 / 1.182 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004262/1.041, allocations: 2.018 MB / 1.184 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009417/1.042, allocations: 0.4902 MB / 1.184 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002265/1.042, allocations: 31.98 kB / 1.184 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/1.043, allocations: 149.7 kB / 1.185 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/1.043, allocations: 121.1 kB / 1.185 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001632/1.044, allocations: 67.95 kB / 1.185 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001781/1.045, allocations: 1.29 MB / 1.186 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.41e-07/1.045, allocations: 4 kB / 1.186 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002074/1.047, allocations: 0.6664 MB / 1.187 GB, free: 14.88 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001948/1.049, allocations: 0.7491 MB / 1.187 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003583/1.053, allocations: 2.109 MB / 1.189 GB, free: 12.14 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/1.053, allocations: 4.547 kB / 1.189 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00211/1.055, allocations: 1.426 MB / 1.191 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/1.058, allocations: 0.5003 MB / 1.191 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007684/1.065, allocations: 4.78 MB / 1.196 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/1.066, allocations: 1.537 MB / 1.197 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002005/1.068, allocations: 0.5006 MB / 1.198 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004861/1.069, allocations: 171.3 kB / 1.198 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of SimCode: time 1.012e-06/1.069, allocations: 0 / 1.198 GB, free: 3.094 MB / 0.9512 GB Notification: Performance of Templates: time 0.0503/1.119, allocations: 28.93 MB / 1.226 GB, free: 6.477 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Angles.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_CpData_Angles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches