Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 111 kB / 16.42 MB, free: 6.469 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.001332/0.001332, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.483/1.483, allocations: 222.9 MB / 241 MB, free: 15.06 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.455/2.455, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 67.89 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082/1.083, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02966/1.113, allocations: 21.69 MB / 1.188 GB, free: 14.06 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.205/1.318, allocations: 158.6 MB / 1.343 GB, free: 14.85 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003598/1.321, allocations: 71.69 kB / 1.343 GB, free: 14.78 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005325/1.327, allocations: 1.615 MB / 1.345 GB, free: 13.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007458/1.334, allocations: 1.905 MB / 1.347 GB, free: 11.25 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008768/1.343, allocations: 2.214 MB / 1.349 GB, free: 9.047 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01004/1.353, allocations: 5.127 MB / 1.354 GB, free: 3.902 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01111/1.364, allocations: 5.708 MB / 1.36 GB, free: 14.13 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004743/1.369, allocations: 2.158 MB / 1.362 GB, free: 11.97 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004766/1.374, allocations: 2.387 MB / 1.364 GB, free: 9.574 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001886/1.376, allocations: 472 kB / 1.365 GB, free: 9.113 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003965/1.38, allocations: 1.214 MB / 1.366 GB, free: 7.898 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00307/1.383, allocations: 1.672 MB / 1.367 GB, free: 6.223 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005213/1.388, allocations: 2.092 MB / 1.369 GB, free: 4.121 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01168/1.4, allocations: 6.956 MB / 1.376 GB, free: 13.14 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.4, allocations: 0 / 1.376 GB, free: 13.14 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.214e-06/1.4, allocations: 0 / 1.376 GB, free: 13.14 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002723/1.4, allocations: 0 / 1.376 GB, free: 13.14 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: 825 * Number of variables: 825 Notification: Performance of Generate backend data structure: time 0.01366/1.414, allocations: 4.051 MB / 1.38 GB, free: 9.012 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.414, allocations: 8.922 kB / 1.38 GB, free: 9.004 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005046/1.419, allocations: 0.8227 MB / 1.381 GB, free: 8.176 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006556/1.426, allocations: 2.344 MB / 1.383 GB, free: 5.777 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/1.426, allocations: 234.2 kB / 1.383 GB, free: 5.547 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001386/1.427, allocations: 304 kB / 1.384 GB, free: 5.25 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01349/1.441, allocations: 4.754 MB / 1.388 GB, free: 368 kB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/1.441, allocations: 15.83 kB / 1.388 GB, free: 352 kB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/1.442, allocations: 136 kB / 1.389 GB, free: 216 kB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004131/1.443, allocations: 214.1 kB / 1.389 GB, free: 0 / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/1.453, allocations: 4.349 MB / 1.393 GB, free: 11.64 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03227/1.485, allocations: 18.62 MB / 1.411 GB, free: 7.547 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004061/1.489, allocations: 2.202 MB / 1.413 GB, free: 5.332 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/1.491, allocations: 1.143 MB / 1.414 GB, free: 4.18 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002483/1.492, allocations: 134.3 kB / 1.415 GB, free: 4.031 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002257/1.494, allocations: 1.246 MB / 1.416 GB, free: 2.754 MB / 1.139 GB Notification: Performance of pre-optimization done (n=166): time 5.189e-06/1.494, allocations: 0 / 1.416 GB, free: 2.754 MB / 1.139 GB Notification: Performance of matching and sorting (n=201): time 0.03417/1.528, allocations: 10.48 MB / 1.426 GB, free: 8.207 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002114/1.528, allocations: 364.1 kB / 1.426 GB, free: 7.77 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004255/1.533, allocations: 1.942 MB / 1.428 GB, free: 5.781 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0005064/1.533, allocations: 65.69 kB / 1.428 GB, free: 5.711 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001663/1.535, allocations: 1.468 MB / 1.43 GB, free: 4.223 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.536, allocations: 0.6702 MB / 1.43 GB, free: 3.543 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001388/1.537, allocations: 439.6 kB / 1.431 GB, free: 3.105 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001117/1.537, allocations: 305.1 kB / 1.431 GB, free: 2.805 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/1.54, allocations: 1.185 MB / 1.432 GB, free: 1.609 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003029/1.543, allocations: 1.693 MB / 1.434 GB, free: 15.72 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005369/1.548, allocations: 2.97 MB / 1.437 GB, free: 12.58 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-05/1.548, allocations: 4 kB / 1.437 GB, free: 12.58 MB / 1.17 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.012/1.56, allocations: 4.676 MB / 1.441 GB, free: 7.883 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/1.56, allocations: 15.94 kB / 1.441 GB, free: 7.867 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.23e-05/1.56, allocations: 12.66 kB / 1.441 GB, free: 7.855 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007178/1.568, allocations: 1.743 MB / 1.443 GB, free: 6.105 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/1.57, allocations: 483.2 kB / 1.444 GB, free: 5.633 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/1.586, allocations: 9.762 MB / 1.453 GB, free: 11.6 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003466/1.589, allocations: 211.6 kB / 1.453 GB, free: 11.39 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006708/1.59, allocations: 104 kB / 1.453 GB, free: 11.29 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005188/1.595, allocations: 2.144 MB / 1.456 GB, free: 9.141 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002663/1.598, allocations: 1.63 MB / 1.457 GB, free: 7.316 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004617/1.602, allocations: 2.822 MB / 1.46 GB, free: 4.324 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.352e-05/1.603, allocations: 4 kB / 1.46 GB, free: 4.32 MB / 1.186 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.01059/1.613, allocations: 4.079 MB / 1.464 GB, free: 232 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/1.613, allocations: 11.16 kB / 1.464 GB, free: 224 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.241e-05/1.613, allocations: 19.98 kB / 1.464 GB, free: 204 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004643/1.618, allocations: 1.108 MB / 1.465 GB, free: 15.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/1.62, allocations: 0.4953 MB / 1.465 GB, free: 14.59 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008445/1.629, allocations: 5.45 MB / 1.471 GB, free: 9 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/1.632, allocations: 187.8 kB / 1.471 GB, free: 8.816 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005177/1.632, allocations: 95.97 kB / 1.471 GB, free: 8.723 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (244): * Single equations (assignments): 242 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001099/1.633, allocations: 317.8 kB / 1.471 GB, free: 8.402 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009139/1.634, allocations: 237.1 kB / 1.472 GB, free: 8.168 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/1.646, allocations: 4.55 MB / 1.476 GB, free: 3.594 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.624e-05/1.647, allocations: 11.97 kB / 1.476 GB, free: 3.582 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/1.647, allocations: 0 / 1.476 GB, free: 3.582 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002016/1.649, allocations: 0.6035 MB / 1.477 GB, free: 2.957 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009441/1.65, allocations: 44 kB / 1.477 GB, free: 2.914 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002796/1.652, allocations: 215.6 kB / 1.477 GB, free: 2.703 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008364/1.653, allocations: 161.7 kB / 1.477 GB, free: 2.547 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01153/1.665, allocations: 4.092 MB / 1.481 GB, free: 14.44 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00834/1.673, allocations: 4.552 MB / 1.485 GB, free: 9.867 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002035/1.675, allocations: 1.351 MB / 1.487 GB, free: 8.516 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002781/1.678, allocations: 1.353 MB / 1.488 GB, free: 7.141 MB / 1.217 GB Notification: Performance of Backend: time 1.362e-06/1.678, allocations: 0 / 1.488 GB, free: 7.141 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.01363/1.692, allocations: 5.139 MB / 1.493 GB, free: 2.195 MB / 1.217 GB Notification: Performance of SimCode: time 0.01525/1.707, allocations: 6.434 MB / 1.499 GB, free: 11.73 MB / 1.232 GB Notification: Performance of Templates: time 0.9103/2.617, allocations: 63.48 MB / 1.561 GB, free: 379 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches