Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.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.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 115.3 kB / 16.42 MB, free: 6.5 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.00183/0.00183, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.18 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.521/2.521, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.88 kB / 1.019 GB, free: 9.445 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.046, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02903/1.075, allocations: 21.95 MB / 1.189 GB, free: 13.84 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1968/1.272, allocations: 158.5 MB / 1.344 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004235/1.276, allocations: 71.69 kB / 1.344 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.007045/1.284, allocations: 1.876 MB / 1.345 GB, free: 12.76 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009935/1.294, allocations: 2.058 MB / 1.347 GB, free: 10.7 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008339/1.302, allocations: 2.342 MB / 1.35 GB, free: 8.367 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009014/1.311, allocations: 5.38 MB / 1.355 GB, free: 2.969 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01055/1.322, allocations: 5.658 MB / 1.361 GB, free: 13.25 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004842/1.326, allocations: 2.204 MB / 1.363 GB, free: 11.04 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006094/1.333, allocations: 2.445 MB / 1.365 GB, free: 8.586 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002943/1.336, allocations: 492 kB / 1.366 GB, free: 8.105 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005726/1.341, allocations: 1.26 MB / 1.367 GB, free: 6.844 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004511/1.346, allocations: 1.738 MB / 1.368 GB, free: 5.102 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.006022/1.352, allocations: 2.178 MB / 1.371 GB, free: 2.914 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01264/1.364, allocations: 7.268 MB / 1.378 GB, free: 11.62 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/1.365, allocations: 0 / 1.378 GB, free: 11.62 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.045e-06/1.365, allocations: 0 / 1.378 GB, free: 11.62 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002941/1.365, allocations: 0 / 1.378 GB, free: 11.62 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 836 * Number of variables: 836 Notification: Performance of Generate backend data structure: time 0.01403/1.379, allocations: 4.195 MB / 1.382 GB, free: 7.348 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 6.287e-05/1.379, allocations: 8.625 kB / 1.382 GB, free: 7.34 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004874/1.384, allocations: 0.7992 MB / 1.383 GB, free: 6.535 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007252/1.391, allocations: 2.51 MB / 1.385 GB, free: 3.973 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/1.391, allocations: 238.3 kB / 1.385 GB, free: 3.738 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/1.393, allocations: 308 kB / 1.386 GB, free: 3.438 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0126/1.405, allocations: 4.823 MB / 1.39 GB, free: 14.46 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/1.405, allocations: 7.938 kB / 1.39 GB, free: 14.45 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009545/1.406, allocations: 136 kB / 1.39 GB, free: 14.32 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004236/1.407, allocations: 214.1 kB / 1.391 GB, free: 14.11 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/1.417, allocations: 4.372 MB / 1.395 GB, free: 9.727 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03165/1.449, allocations: 19.68 MB / 1.414 GB, free: 4.469 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004094/1.453, allocations: 2.087 MB / 1.416 GB, free: 2.383 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002/1.455, allocations: 1.149 MB / 1.417 GB, free: 1.227 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003226/1.455, allocations: 138.3 kB / 1.417 GB, free: 1.074 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002517/1.458, allocations: 1.282 MB / 1.419 GB, free: 15.77 MB / 1.154 GB Notification: Performance of pre-optimization done (n=169): time 9.117e-06/1.458, allocations: 0 / 1.419 GB, free: 15.77 MB / 1.154 GB Notification: Performance of matching and sorting (n=206): time 0.04057/1.498, allocations: 11.31 MB / 1.43 GB, free: 4.402 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001844/1.499, allocations: 304.7 kB / 1.43 GB, free: 4.035 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00453/1.503, allocations: 2.133 MB / 1.432 GB, free: 1.863 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005694/1.504, allocations: 65.7 kB / 1.432 GB, free: 1.793 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001735/1.505, allocations: 1.52 MB / 1.434 GB, free: 260 kB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001122/1.507, allocations: 0.6778 MB / 1.434 GB, free: 15.57 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/1.508, allocations: 423.4 kB / 1.435 GB, free: 15.14 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001199/1.508, allocations: 305.1 kB / 1.435 GB, free: 14.84 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/1.511, allocations: 1.223 MB / 1.436 GB, free: 13.61 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002706/1.513, allocations: 1.658 MB / 1.438 GB, free: 11.79 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004842/1.518, allocations: 2.947 MB / 1.441 GB, free: 8.719 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/1.518, allocations: 4 kB / 1.441 GB, free: 8.715 MB / 1.17 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.0147/1.533, allocations: 5.167 MB / 1.446 GB, free: 3.516 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/1.533, allocations: 8.844 kB / 1.446 GB, free: 3.508 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.888e-05/1.533, allocations: 15.94 kB / 1.446 GB, free: 3.492 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01027/1.543, allocations: 2.295 MB / 1.448 GB, free: 1.176 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00238/1.546, allocations: 475.3 kB / 1.448 GB, free: 0.7109 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02173/1.567, allocations: 15.22 MB / 1.463 GB, free: 0.6523 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003558/1.571, allocations: 195.7 kB / 1.463 GB, free: 472 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007439/1.572, allocations: 99.95 kB / 1.464 GB, free: 372 kB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005599/1.577, allocations: 2.198 MB / 1.466 GB, free: 14.16 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002714/1.58, allocations: 1.572 MB / 1.467 GB, free: 12.42 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004668/1.585, allocations: 2.763 MB / 1.47 GB, free: 9.531 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.555e-05/1.585, allocations: 4 kB / 1.47 GB, free: 9.527 MB / 1.201 GB Notification: Performance of matching and sorting (n=265) (initialization_lambda0): time 0.01246/1.597, allocations: 4.42 MB / 1.474 GB, free: 5.086 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/1.597, allocations: 8 kB / 1.474 GB, free: 5.078 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/1.598, allocations: 12 kB / 1.474 GB, free: 5.066 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006371/1.604, allocations: 1.481 MB / 1.476 GB, free: 3.574 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/1.606, allocations: 0.4913 MB / 1.476 GB, free: 3.082 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/1.618, allocations: 8.358 MB / 1.484 GB, free: 10.31 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/1.621, allocations: 198.9 kB / 1.485 GB, free: 10.12 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005353/1.621, allocations: 87.97 kB / 1.485 GB, free: 10.03 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (247): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,2), (2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001075/1.622, allocations: 317.4 kB / 1.485 GB, free: 9.715 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009868/1.623, allocations: 237.1 kB / 1.485 GB, free: 9.48 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/1.638, allocations: 5.202 MB / 1.49 GB, free: 4.246 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000101/1.638, allocations: 19.89 kB / 1.49 GB, free: 4.227 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/1.638, allocations: 0 / 1.49 GB, free: 4.227 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002558/1.641, allocations: 0.6463 MB / 1.491 GB, free: 3.559 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/1.642, allocations: 39.98 kB / 1.491 GB, free: 3.52 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002756/1.645, allocations: 231.6 kB / 1.491 GB, free: 3.293 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007084/1.646, allocations: 161.7 kB / 1.491 GB, free: 3.133 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01143/1.657, allocations: 4.317 MB / 1.496 GB, free: 14.79 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00873/1.666, allocations: 4.698 MB / 1.5 GB, free: 10.07 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002338/1.668, allocations: 1.405 MB / 1.501 GB, free: 8.668 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003268/1.672, allocations: 1.505 MB / 1.503 GB, free: 7.145 MB / 1.232 GB Notification: Performance of Backend: time 5.62e-07/1.672, allocations: 0 / 1.503 GB, free: 7.145 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0142/1.686, allocations: 5.745 MB / 1.509 GB, free: 1.504 MB / 1.232 GB Notification: Performance of SimCode: time 0.01482/1.701, allocations: 6.619 MB / 1.515 GB, free: 10.86 MB / 1.248 GB Notification: Performance of Templates: time 0.9174/2.618, allocations: 67.16 MB / 1.581 GB, free: 365.1 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches