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.001141/0.001141, allocations: 104.6 kB / 16.41 MB, free: 6.488 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.001108/0.001108, allocations: 183 kB / 17.34 MB, free: 5.734 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.608/2.608, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.91 kB / 1.055 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8415/0.843, allocations: 157.4 MB / 1.208 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Angles): time 0.1931/1.036, allocations: 168.5 MB / 1.373 GB, free: 4.648 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02617/1.062, allocations: 17.35 MB / 1.39 GB, free: 3.246 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001731/1.064, allocations: 31.81 kB / 1.39 GB, free: 3.215 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002168/1.066, allocations: 0.5738 MB / 1.39 GB, free: 2.637 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.005943/1.072, allocations: 1.784 MB / 1.392 GB, free: 0.8477 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00424/1.077, allocations: 1.444 MB / 1.394 GB, free: 15.42 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004622/1.081, allocations: 2.894 MB / 1.396 GB, free: 12.52 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003425/1.085, allocations: 1.952 MB / 1.398 GB, free: 10.51 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004654/1.089, allocations: 1.448 MB / 1.4 GB, free: 9.105 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00189/1.091, allocations: 1.124 MB / 1.401 GB, free: 7.977 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.000747/1.092, allocations: 224 kB / 1.401 GB, free: 7.758 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00373/1.096, allocations: 1.556 MB / 1.403 GB, free: 6.199 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0009202/1.097, allocations: 0.7985 MB / 1.403 GB, free: 5.398 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001595/1.098, allocations: 1.232 MB / 1.405 GB, free: 4.16 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005968/1.104, allocations: 3.606 MB / 1.408 GB, free: 0.543 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.104, allocations: 3.938 kB / 1.408 GB, free: 0.5391 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.345e-06/1.104, allocations: 0 / 1.408 GB, free: 0.5391 MB / 1.123 GB Notification: Performance of Transformations before backend: time 7.74e-05/1.104, allocations: 4 kB / 1.408 GB, free: 0.5352 MB / 1.123 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.005432/1.11, allocations: 2.778 MB / 1.411 GB, free: 13.7 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.11, allocations: 12.03 kB / 1.411 GB, free: 13.68 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/1.114, allocations: 0.559 MB / 1.411 GB, free: 13.12 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002844/1.117, allocations: 1.643 MB / 1.413 GB, free: 11.43 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/1.117, allocations: 135.4 kB / 1.413 GB, free: 11.29 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000252/1.117, allocations: 175.9 kB / 1.413 GB, free: 11.12 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003887/1.121, allocations: 1.948 MB / 1.415 GB, free: 9.121 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/1.121, allocations: 4 kB / 1.415 GB, free: 9.117 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001941/1.121, allocations: 76 kB / 1.415 GB, free: 9.043 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-05/1.121, allocations: 40 kB / 1.415 GB, free: 9.004 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003891/1.125, allocations: 2.113 MB / 1.417 GB, free: 6.887 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.01096/1.136, allocations: 6.181 MB / 1.423 GB, free: 368 kB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/1.14, allocations: 2.132 MB / 1.425 GB, free: 14.14 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/1.141, allocations: 0.7769 MB / 1.426 GB, free: 13.37 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000627/1.142, allocations: 433.5 kB / 1.427 GB, free: 12.88 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001913/1.144, allocations: 1.019 MB / 1.428 GB, free: 11.84 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 4.348e-06/1.144, allocations: 4 kB / 1.428 GB, free: 11.84 MB / 1.154 GB Notification: Performance of matching and sorting (n=146): time 0.007265/1.151, allocations: 2.985 MB / 1.431 GB, free: 8.738 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.151, allocations: 201.2 kB / 1.431 GB, free: 8.496 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/1.154, allocations: 1.83 MB / 1.433 GB, free: 6.656 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002674/1.154, allocations: 57.7 kB / 1.433 GB, free: 6.594 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007836/1.155, allocations: 0.843 MB / 1.433 GB, free: 5.738 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004892/1.155, allocations: 485 kB / 1.434 GB, free: 5.258 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004945/1.156, allocations: 254.8 kB / 1.434 GB, free: 5.004 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.156, allocations: 361.8 kB / 1.434 GB, free: 4.645 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/1.157, allocations: 0.6116 MB / 1.435 GB, free: 4.031 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/1.159, allocations: 0.8091 MB / 1.436 GB, free: 3.172 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/1.161, allocations: 1.357 MB / 1.437 GB, free: 1.801 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.161, allocations: 8 kB / 1.437 GB, free: 1.793 MB / 1.154 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00446/1.166, allocations: 1.838 MB / 1.439 GB, free: 15.93 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.855e-05/1.166, allocations: 11.92 kB / 1.439 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.166, allocations: 4 kB / 1.439 GB, free: 15.91 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/1.167, allocations: 200.2 kB / 1.439 GB, free: 15.7 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001695/1.169, allocations: 347.5 kB / 1.44 GB, free: 15.36 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006382/1.175, allocations: 7.311 MB / 1.447 GB, free: 7.348 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/1.177, allocations: 176.5 kB / 1.447 GB, free: 7.176 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/1.177, allocations: 59.95 kB / 1.447 GB, free: 7.117 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.001138/1.178, allocations: 491.2 kB / 1.447 GB, free: 6.629 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004637/1.179, allocations: 181.8 kB / 1.448 GB, free: 6.449 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004699/1.184, allocations: 2.141 MB / 1.45 GB, free: 4.281 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/1.184, allocations: 16 kB / 1.45 GB, free: 4.266 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/1.184, allocations: 4 kB / 1.45 GB, free: 4.262 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.789e-05/1.184, allocations: 11.97 kB / 1.45 GB, free: 4.25 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007409/1.191, allocations: 4.002 MB / 1.454 GB, free: 172 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/1.191, allocations: 7.938 kB / 1.454 GB, free: 164 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001516/1.193, allocations: 327.5 kB / 1.454 GB, free: 15.84 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009205/1.194, allocations: 200.1 kB / 1.454 GB, free: 15.63 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/1.194, allocations: 39.97 kB / 1.454 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006188/1.2, allocations: 7.352 MB / 1.461 GB, free: 7.523 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.2, allocations: 3.938 kB / 1.461 GB, free: 7.52 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004639/1.205, allocations: 2.012 MB / 1.463 GB, free: 5.469 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/1.206, allocations: 474.3 kB / 1.464 GB, free: 4.984 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/1.206, allocations: 32 kB / 1.464 GB, free: 4.953 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/1.207, allocations: 102.7 kB / 1.464 GB, free: 4.855 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002676/1.208, allocations: 117.1 kB / 1.464 GB, free: 4.742 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001573/1.208, allocations: 71.95 kB / 1.464 GB, free: 4.672 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001804/1.21, allocations: 1.302 MB / 1.465 GB, free: 3.375 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.81e-07/1.21, allocations: 4 kB / 1.465 GB, free: 3.371 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001996/1.212, allocations: 0.6898 MB / 1.466 GB, free: 2.68 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.001896/1.214, allocations: 0.7523 MB / 1.467 GB, free: 2.109 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.003943/1.217, allocations: 2.113 MB / 1.469 GB, free: 15.93 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.218, allocations: 0.5625 kB / 1.469 GB, free: 15.93 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002329/1.22, allocations: 1.426 MB / 1.47 GB, free: 14.44 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/1.223, allocations: 0.549 MB / 1.471 GB, free: 13.91 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007413/1.23, allocations: 3.794 MB / 1.474 GB, free: 10.08 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.231, allocations: 1.494 MB / 1.476 GB, free: 8.559 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009003/1.232, allocations: 195.3 kB / 1.476 GB, free: 8.367 MB / 1.201 GB Notification: Performance of SimCode: time 1.122e-06/1.232, allocations: 0 / 1.476 GB, free: 8.367 MB / 1.201 GB Notification: Performance of Templates: time 0.07948/1.312, allocations: 67.79 MB / 1.542 GB, free: 4.641 MB / 1.264 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/jenkins1/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