Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_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_latest_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_latest_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.001226/0.001227, allocations: 114.3 kB / 16.42 MB, free: 6.441 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.001293/0.001293, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.627/2.627, allocations: 469.4 MB / 0.7428 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.89 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8881/0.8897, allocations: 159.1 MB / 1.221 GB, free: 2.34 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02765/0.9174, allocations: 21.67 MB / 1.242 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1843/1.102, allocations: 158.6 MB / 1.397 GB, free: 13.37 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003102/1.105, allocations: 71.69 kB / 1.397 GB, free: 13.3 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.005032/1.11, allocations: 1.627 MB / 1.399 GB, free: 11.66 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.006256/1.116, allocations: 1.907 MB / 1.4 GB, free: 9.754 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00609/1.122, allocations: 2.211 MB / 1.403 GB, free: 7.555 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006864/1.129, allocations: 5.123 MB / 1.408 GB, free: 2.414 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008416/1.138, allocations: 5.72 MB / 1.413 GB, free: 12.63 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003547/1.141, allocations: 2.154 MB / 1.415 GB, free: 10.47 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003993/1.145, allocations: 2.383 MB / 1.418 GB, free: 8.078 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.001544/1.147, allocations: 472 kB / 1.418 GB, free: 7.617 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/1.15, allocations: 1.214 MB / 1.419 GB, free: 6.402 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.002535/1.153, allocations: 1.668 MB / 1.421 GB, free: 4.73 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.004187/1.157, allocations: 2.092 MB / 1.423 GB, free: 2.629 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.009299/1.166, allocations: 6.956 MB / 1.43 GB, free: 11.65 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.166, allocations: 0 / 1.43 GB, free: 11.65 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.674e-06/1.166, allocations: 0 / 1.43 GB, free: 11.65 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0002055/1.166, allocations: 0 / 1.43 GB, free: 11.65 MB / 1.154 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.01006/1.176, allocations: 4.044 MB / 1.434 GB, free: 7.523 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/1.177, allocations: 8.625 kB / 1.434 GB, free: 7.516 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/1.181, allocations: 0.8189 MB / 1.435 GB, free: 6.691 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005257/1.186, allocations: 2.348 MB / 1.437 GB, free: 4.289 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/1.186, allocations: 234.2 kB / 1.437 GB, free: 4.059 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009605/1.187, allocations: 303.9 kB / 1.437 GB, free: 3.762 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01092/1.198, allocations: 4.762 MB / 1.442 GB, free: 14.86 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.975e-05/1.198, allocations: 3.938 kB / 1.442 GB, free: 14.86 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005856/1.199, allocations: 140 kB / 1.442 GB, free: 14.72 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004194/1.199, allocations: 218.1 kB / 1.442 GB, free: 14.51 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008603/1.208, allocations: 4.345 MB / 1.447 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02698/1.235, allocations: 18.61 MB / 1.465 GB, free: 6.066 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003736/1.239, allocations: 2.218 MB / 1.467 GB, free: 3.832 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/1.241, allocations: 1.143 MB / 1.468 GB, free: 2.684 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/1.241, allocations: 134.3 kB / 1.468 GB, free: 2.535 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001956/1.243, allocations: 1.246 MB / 1.469 GB, free: 1.258 MB / 1.186 GB Notification: Performance of pre-optimization done (n=166): time 4.648e-06/1.243, allocations: 7.875 kB / 1.469 GB, free: 1.25 MB / 1.186 GB Notification: Performance of matching and sorting (n=201): time 0.03198/1.275, allocations: 10.47 MB / 1.48 GB, free: 6.707 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/1.275, allocations: 356.1 kB / 1.48 GB, free: 6.277 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002986/1.278, allocations: 1.95 MB / 1.482 GB, free: 4.281 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0002891/1.278, allocations: 65.7 kB / 1.482 GB, free: 4.211 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001309/1.28, allocations: 1.468 MB / 1.483 GB, free: 2.723 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.00068/1.28, allocations: 0.6663 MB / 1.484 GB, free: 2.047 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00084/1.281, allocations: 427.6 kB / 1.484 GB, free: 1.621 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 9.99e-05/1.281, allocations: 309.1 kB / 1.485 GB, free: 1.316 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002013/1.283, allocations: 1.192 MB / 1.486 GB, free: 116 kB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/1.286, allocations: 1.697 MB / 1.488 GB, free: 14.21 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004388/1.29, allocations: 2.966 MB / 1.49 GB, free: 11.08 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/1.29, allocations: 4 kB / 1.49 GB, free: 11.08 MB / 1.217 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01185/1.302, allocations: 4.681 MB / 1.495 GB, free: 6.383 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/1.302, allocations: 11.94 kB / 1.495 GB, free: 6.371 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/1.302, allocations: 12 kB / 1.495 GB, free: 6.359 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007584/1.31, allocations: 1.74 MB / 1.497 GB, free: 4.613 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/1.312, allocations: 491.2 kB / 1.497 GB, free: 4.133 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/1.328, allocations: 9.769 MB / 1.507 GB, free: 10.1 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/1.331, allocations: 207.6 kB / 1.507 GB, free: 9.895 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004446/1.332, allocations: 95.97 kB / 1.507 GB, free: 9.801 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004198/1.336, allocations: 2.148 MB / 1.509 GB, free: 7.645 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002542/1.339, allocations: 1.63 MB / 1.511 GB, free: 5.82 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004524/1.343, allocations: 2.826 MB / 1.513 GB, free: 2.824 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.704e-05/1.343, allocations: 4 kB / 1.513 GB, free: 2.82 MB / 1.232 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.01029/1.353, allocations: 4.075 MB / 1.517 GB, free: 14.73 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/1.353, allocations: 12 kB / 1.517 GB, free: 14.72 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/1.353, allocations: 12 kB / 1.517 GB, free: 14.71 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00477/1.358, allocations: 1.105 MB / 1.519 GB, free: 13.6 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/1.361, allocations: 0.5031 MB / 1.519 GB, free: 13.09 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008398/1.369, allocations: 5.451 MB / 1.524 GB, free: 7.5 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/1.372, allocations: 186 kB / 1.525 GB, free: 7.32 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003544/1.372, allocations: 95.97 kB / 1.525 GB, free: 7.227 MB / 1.248 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.0009207/1.373, allocations: 326.3 kB / 1.525 GB, free: 6.902 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006784/1.374, allocations: 229.2 kB / 1.525 GB, free: 6.676 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/1.385, allocations: 4.55 MB / 1.53 GB, free: 2.102 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-05/1.385, allocations: 11.95 kB / 1.53 GB, free: 2.09 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.385, allocations: 0 / 1.53 GB, free: 2.09 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/1.387, allocations: 0.6035 MB / 1.53 GB, free: 1.465 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007297/1.388, allocations: 47.84 kB / 1.53 GB, free: 1.418 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/1.39, allocations: 219.7 kB / 1.53 GB, free: 1.203 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006532/1.391, allocations: 157.8 kB / 1.531 GB, free: 1.051 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01123/1.402, allocations: 4.087 MB / 1.535 GB, free: 12.95 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008131/1.41, allocations: 4.556 MB / 1.539 GB, free: 8.371 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001974/1.412, allocations: 1.347 MB / 1.54 GB, free: 7.023 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00266/1.415, allocations: 1.361 MB / 1.542 GB, free: 5.641 MB / 1.264 GB Notification: Performance of Backend: time 8.31e-07/1.415, allocations: 0 / 1.542 GB, free: 5.641 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01186/1.427, allocations: 5.135 MB / 1.547 GB, free: 0.7578 MB / 1.264 GB Notification: Performance of SimCode: time 0.01306/1.44, allocations: 6.434 MB / 1.553 GB, free: 10.3 MB / 1.279 GB Notification: Performance of Templates: time 0.8145/2.254, allocations: 63.48 MB / 1.615 GB, free: 301.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches