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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001606/0.001607, allocations: 109.1 kB / 16.37 MB, free: 6.477 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.001854/0.001854, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.459/2.459, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 69.03 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2744, allocations: 151.6 MB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.6553/0.9296, allocations: 168.5 MB / 1.183 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0234/0.9531, allocations: 17.35 MB / 1.2 GB, free: 8.648 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.9551, allocations: 31.44 kB / 1.2 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002067/0.9572, allocations: 0.568 MB / 1.201 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005809/0.9631, allocations: 1.784 MB / 1.203 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.967, allocations: 1.439 MB / 1.204 GB, free: 5.734 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003841/0.9709, allocations: 2.889 MB / 1.207 GB, free: 4.004 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002951/0.9738, allocations: 1.948 MB / 1.209 GB, free: 2.715 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004131/0.978, allocations: 1.425 MB / 1.21 GB, free: 1.926 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00215/0.9801, allocations: 1.121 MB / 1.211 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0006892/0.9808, allocations: 221.6 kB / 1.211 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.9844, allocations: 1.559 MB / 1.213 GB, free: 440 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.9855, allocations: 0.7937 MB / 1.214 GB, free: 15.87 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002075/0.9876, allocations: 1.23 MB / 1.215 GB, free: 15.01 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.005804/0.9934, allocations: 3.61 MB / 1.218 GB, free: 12.47 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.9934, allocations: 4 kB / 1.218 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9934, allocations: 4 kB / 1.218 GB, free: 12.46 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.838e-05/0.9935, allocations: 0 / 1.218 GB, free: 12.46 MB / 0.92 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.004837/0.9983, allocations: 2.783 MB / 1.221 GB, free: 9.613 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.9984, allocations: 12.92 kB / 1.221 GB, free: 9.602 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/1.002, allocations: 0.5551 MB / 1.222 GB, free: 9.043 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00248/1.004, allocations: 1.643 MB / 1.223 GB, free: 7.348 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/1.005, allocations: 135.4 kB / 1.223 GB, free: 7.215 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/1.005, allocations: 164 kB / 1.224 GB, free: 7.055 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003115/1.008, allocations: 1.96 MB / 1.226 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/1.008, allocations: 4 kB / 1.226 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/1.008, allocations: 76 kB / 1.226 GB, free: 4.965 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-05/1.008, allocations: 44 kB / 1.226 GB, free: 4.922 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003392/1.012, allocations: 2.117 MB / 1.228 GB, free: 2.801 MB / 0.92 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.009302/1.021, allocations: 6.185 MB / 1.234 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003197/1.024, allocations: 2.133 MB / 1.236 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001293/1.025, allocations: 0.773 MB / 1.237 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006185/1.026, allocations: 433.6 kB / 1.237 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001727/1.028, allocations: 1.021 MB / 1.238 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=146): time 3.667e-06/1.028, allocations: 4 kB / 1.238 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of matching and sorting (n=146): time 0.007583/1.035, allocations: 2.989 MB / 1.241 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/1.036, allocations: 201.2 kB / 1.241 GB, free: 4.391 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003334/1.039, allocations: 1.826 MB / 1.243 GB, free: 2.555 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002284/1.039, allocations: 65.69 kB / 1.243 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008756/1.04, allocations: 0.843 MB / 1.244 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004715/1.041, allocations: 481 kB / 1.244 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004959/1.041, allocations: 262.7 kB / 1.244 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001378/1.041, allocations: 357.9 kB / 1.245 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001215/1.042, allocations: 0.6038 MB / 1.245 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/1.044, allocations: 0.8091 MB / 1.246 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002422/1.046, allocations: 1.36 MB / 1.248 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/1.046, allocations: 0 / 1.248 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.004034/1.05, allocations: 1.838 MB / 1.249 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.05, allocations: 7.938 kB / 1.249 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/1.05, allocations: 4 kB / 1.249 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/1.051, allocations: 208.2 kB / 1.25 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/1.053, allocations: 339.5 kB / 1.25 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006362/1.06, allocations: 7.327 MB / 1.257 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/1.061, allocations: 179.9 kB / 1.257 GB, free: 3.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002184/1.062, allocations: 59.91 kB / 1.257 GB, free: 3.012 MB / 0.9512 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.001394/1.063, allocations: 495.4 kB / 1.258 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006885/1.064, allocations: 181.8 kB / 1.258 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004859/1.069, allocations: 2.141 MB / 1.26 GB, free: 172 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.454e-05/1.069, allocations: 16 kB / 1.26 GB, free: 156 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/1.069, allocations: 4 kB / 1.26 GB, free: 152 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.747e-05/1.069, allocations: 15.91 kB / 1.26 GB, free: 136 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007683/1.076, allocations: 4.002 MB / 1.264 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/1.076, allocations: 0 / 1.264 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001539/1.078, allocations: 327.5 kB / 1.264 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008787/1.079, allocations: 192.1 kB / 1.264 GB, free: 11.53 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/1.079, allocations: 43.95 kB / 1.264 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005742/1.085, allocations: 7.359 MB / 1.272 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.085, allocations: 7.938 kB / 1.272 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004197/1.089, allocations: 2.012 MB / 1.274 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.09, allocations: 474.2 kB / 1.274 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/1.091, allocations: 28 kB / 1.274 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/1.092, allocations: 114.3 kB / 1.274 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002595/1.092, allocations: 109.2 kB / 1.274 GB, free: 0.6289 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001801/1.092, allocations: 71.94 kB / 1.274 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001912/1.094, allocations: 1.306 MB / 1.276 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.81e-07/1.094, allocations: 0 / 1.276 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.00188/1.096, allocations: 0.682 MB / 1.276 GB, free: 14.57 MB / 0.9825 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.001879/1.098, allocations: 0.7637 MB / 1.277 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003581/1.102, allocations: 2.102 MB / 1.279 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/1.102, allocations: 0.5625 kB / 1.279 GB, free: 11.83 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002152/1.104, allocations: 1.434 MB / 1.281 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/1.107, allocations: 0.5535 MB / 1.281 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007116/1.114, allocations: 3.853 MB / 1.285 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/1.115, allocations: 1.537 MB / 1.286 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002219/1.118, allocations: 0.497 MB / 1.287 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006186/1.118, allocations: 171.4 kB / 1.287 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of SimCode: time 9.22e-07/1.118, allocations: 0 / 1.287 GB, free: 3.676 MB / 0.9825 GB Notification: Performance of Templates: time 0.05474/1.173, allocations: 32.15 MB / 1.318 GB, free: 3.906 MB / 1.014 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 -s gbode -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/jenkins1/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