Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001598/0.001598, allocations: 112.6 kB / 16.42 MB, free: 6.508 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.00185/0.00185, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.424/1.424, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.918/2.918, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 68.09 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9024/0.9039, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02633/0.9303, allocations: 21.93 MB / 1.23 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.194/1.124, allocations: 158.5 MB / 1.385 GB, free: 8.492 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003199/1.128, allocations: 75.69 kB / 1.385 GB, free: 8.418 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.005611/1.133, allocations: 1.871 MB / 1.387 GB, free: 6.543 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.00726/1.14, allocations: 2.025 MB / 1.389 GB, free: 4.512 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006984/1.147, allocations: 2.338 MB / 1.391 GB, free: 2.188 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008051/1.156, allocations: 5.373 MB / 1.396 GB, free: 12.8 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009866/1.165, allocations: 5.654 MB / 1.402 GB, free: 7.086 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004521/1.17, allocations: 2.208 MB / 1.404 GB, free: 4.871 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004745/1.175, allocations: 2.441 MB / 1.406 GB, free: 2.422 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.00192/1.177, allocations: 492 kB / 1.407 GB, free: 1.941 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003766/1.181, allocations: 1.264 MB / 1.408 GB, free: 0.6758 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00307/1.184, allocations: 1.742 MB / 1.41 GB, free: 14.93 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.005539/1.189, allocations: 2.166 MB / 1.412 GB, free: 12.75 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01276/1.202, allocations: 7.272 MB / 1.419 GB, free: 5.461 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.202, allocations: 0 / 1.419 GB, free: 5.461 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.414e-06/1.202, allocations: 0 / 1.419 GB, free: 5.461 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0002919/1.202, allocations: 0 / 1.419 GB, free: 5.461 MB / 1.139 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.01324/1.216, allocations: 4.189 MB / 1.423 GB, free: 1.188 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/1.216, allocations: 8.031 kB / 1.423 GB, free: 1.18 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00487/1.221, allocations: 0.8031 MB / 1.424 GB, free: 380 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006208/1.227, allocations: 2.51 MB / 1.426 GB, free: 13.81 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/1.227, allocations: 242.3 kB / 1.426 GB, free: 13.57 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001303/1.228, allocations: 308 kB / 1.427 GB, free: 13.27 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01376/1.242, allocations: 4.815 MB / 1.431 GB, free: 8.301 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001857/1.242, allocations: 11.92 kB / 1.431 GB, free: 8.289 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001165/1.244, allocations: 140 kB / 1.431 GB, free: 8.152 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004748/1.244, allocations: 218.1 kB / 1.432 GB, free: 7.938 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/1.255, allocations: 4.372 MB / 1.436 GB, free: 3.555 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03507/1.29, allocations: 19.67 MB / 1.455 GB, free: 14.3 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004285/1.294, allocations: 2.087 MB / 1.457 GB, free: 12.21 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/1.296, allocations: 1.145 MB / 1.458 GB, free: 11.05 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003338/1.297, allocations: 138.3 kB / 1.458 GB, free: 10.9 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002375/1.299, allocations: 1.278 MB / 1.46 GB, free: 9.602 MB / 1.186 GB Notification: Performance of pre-optimization done (n=169): time 5.66e-06/1.299, allocations: 0 / 1.46 GB, free: 9.602 MB / 1.186 GB Notification: Performance of matching and sorting (n=206): time 0.03811/1.337, allocations: 11.31 MB / 1.471 GB, free: 14.23 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001935/1.337, allocations: 304.7 kB / 1.471 GB, free: 13.87 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004408/1.342, allocations: 2.137 MB / 1.473 GB, free: 11.69 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005454/1.342, allocations: 65.7 kB / 1.473 GB, free: 11.62 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001853/1.344, allocations: 1.512 MB / 1.475 GB, free: 10.09 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001055/1.345, allocations: 0.6778 MB / 1.475 GB, free: 9.402 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001369/1.347, allocations: 419.4 kB / 1.476 GB, free: 8.984 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001126/1.347, allocations: 309.1 kB / 1.476 GB, free: 8.68 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002297/1.349, allocations: 1.223 MB / 1.477 GB, free: 7.445 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002749/1.352, allocations: 1.662 MB / 1.479 GB, free: 5.617 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004779/1.357, allocations: 2.939 MB / 1.482 GB, free: 2.555 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/1.357, allocations: 4 kB / 1.482 GB, free: 2.551 MB / 1.201 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01412/1.371, allocations: 5.175 MB / 1.487 GB, free: 13.34 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/1.371, allocations: 14.33 kB / 1.487 GB, free: 13.33 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/1.371, allocations: 15.94 kB / 1.487 GB, free: 13.32 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009608/1.381, allocations: 2.291 MB / 1.489 GB, free: 11 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/1.383, allocations: 479.3 kB / 1.489 GB, free: 10.54 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02133/1.404, allocations: 15.22 MB / 1.504 GB, free: 10.48 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/1.408, allocations: 203.7 kB / 1.505 GB, free: 10.28 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005945/1.408, allocations: 91.97 kB / 1.505 GB, free: 10.19 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004896/1.413, allocations: 2.202 MB / 1.507 GB, free: 7.98 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002779/1.416, allocations: 1.572 MB / 1.508 GB, free: 6.25 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004829/1.421, allocations: 2.763 MB / 1.511 GB, free: 3.359 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.826e-05/1.421, allocations: 4 kB / 1.511 GB, free: 3.355 MB / 1.232 GB Notification: Performance of matching and sorting (n=265) (initialization_lambda0): time 0.01204/1.433, allocations: 4.419 MB / 1.515 GB, free: 14.91 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/1.433, allocations: 10.19 kB / 1.515 GB, free: 14.91 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/1.433, allocations: 12.84 kB / 1.515 GB, free: 14.89 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00601/1.439, allocations: 1.481 MB / 1.517 GB, free: 13.4 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/1.441, allocations: 499.2 kB / 1.517 GB, free: 12.91 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01111/1.453, allocations: 8.37 MB / 1.525 GB, free: 4.117 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002895/1.455, allocations: 187.8 kB / 1.526 GB, free: 3.934 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005385/1.456, allocations: 88.03 kB / 1.526 GB, free: 3.848 MB / 1.248 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.001088/1.457, allocations: 321.4 kB / 1.526 GB, free: 3.527 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.458, allocations: 237.1 kB / 1.526 GB, free: 3.293 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01459/1.473, allocations: 5.202 MB / 1.531 GB, free: 14.05 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001083/1.473, allocations: 15.89 kB / 1.531 GB, free: 14.04 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.473, allocations: 0 / 1.531 GB, free: 14.04 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002161/1.475, allocations: 0.6463 MB / 1.532 GB, free: 13.37 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/1.476, allocations: 47.92 kB / 1.532 GB, free: 13.32 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002637/1.479, allocations: 235.6 kB / 1.532 GB, free: 13.09 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007268/1.48, allocations: 153.8 kB / 1.532 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01117/1.491, allocations: 4.309 MB / 1.537 GB, free: 8.605 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00796/1.499, allocations: 4.705 MB / 1.541 GB, free: 3.887 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002063/1.501, allocations: 1.401 MB / 1.543 GB, free: 2.484 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003134/1.504, allocations: 1.501 MB / 1.544 GB, free: 0.9648 MB / 1.264 GB Notification: Performance of Backend: time 4.61e-07/1.504, allocations: 4 kB / 1.544 GB, free: 0.9609 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01395/1.518, allocations: 5.747 MB / 1.55 GB, free: 11.38 MB / 1.279 GB Notification: Performance of SimCode: time 0.01444/1.532, allocations: 6.614 MB / 1.556 GB, free: 4.754 MB / 1.279 GB Notification: Performance of Templates: time 0.7887/2.321, allocations: 68.41 MB / 1.623 GB, free: 296.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches