Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001273/0.001273, allocations: 110.4 kB / 16.42 MB, free: 6.457 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: 190.7 kB / 17.35 MB, free: 5.719 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.282/2.282, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 0.9515 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8274/0.8287, allocations: 140.4 MB / 1.089 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N): time 0.02635/0.8551, allocations: 21.15 MB / 1.109 GB, free: 7.363 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.2059/1.061, allocations: 158.6 MB / 1.264 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00382/1.065, allocations: 71.75 kB / 1.264 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005209/1.07, allocations: 1.602 MB / 1.266 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006542/1.077, allocations: 1.881 MB / 1.268 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006364/1.083, allocations: 2.198 MB / 1.27 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006354/1.089, allocations: 5.046 MB / 1.275 GB, free: 15.27 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00801/1.097, allocations: 5.73 MB / 1.28 GB, free: 9.469 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003472/1.101, allocations: 2.142 MB / 1.282 GB, free: 7.32 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004365/1.105, allocations: 2.371 MB / 1.285 GB, free: 4.941 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001325/1.107, allocations: 468 kB / 1.285 GB, free: 4.484 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003213/1.11, allocations: 1.213 MB / 1.286 GB, free: 3.27 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002424/1.112, allocations: 1.664 MB / 1.288 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004178/1.117, allocations: 2.084 MB / 1.29 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00935/1.126, allocations: 6.929 MB / 1.297 GB, free: 8.559 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.126, allocations: 0 / 1.297 GB, free: 8.559 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.046e-06/1.126, allocations: 0 / 1.297 GB, free: 8.559 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002539/1.126, allocations: 0 / 1.297 GB, free: 8.559 MB / 1.029 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.01137/1.138, allocations: 4.033 MB / 1.301 GB, free: 4.441 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.145e-05/1.138, allocations: 12.03 kB / 1.301 GB, free: 4.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005031/1.143, allocations: 0.8227 MB / 1.301 GB, free: 3.602 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005611/1.148, allocations: 2.344 MB / 1.304 GB, free: 1.203 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002196/1.149, allocations: 230.2 kB / 1.304 GB, free: 0.9766 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000961/1.15, allocations: 311.9 kB / 1.304 GB, free: 0.6719 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/1.16, allocations: 4.769 MB / 1.309 GB, free: 11.77 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/1.16, allocations: 4 kB / 1.309 GB, free: 11.76 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000745/1.161, allocations: 135.9 kB / 1.309 GB, free: 11.63 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004238/1.161, allocations: 214.1 kB / 1.309 GB, free: 11.42 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008564/1.17, allocations: 4.353 MB / 1.314 GB, free: 7.055 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02687/1.197, allocations: 18.45 MB / 1.332 GB, free: 3.172 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/1.201, allocations: 2.221 MB / 1.334 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/1.202, allocations: 1.139 MB / 1.335 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/1.203, allocations: 142.3 kB / 1.335 GB, free: 15.64 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002095/1.205, allocations: 1.239 MB / 1.336 GB, free: 14.37 MB / 1.076 GB Notification: Performance of pre-optimization done (n=166): time 4.999e-06/1.205, allocations: 0 / 1.336 GB, free: 14.37 MB / 1.076 GB Notification: Performance of matching and sorting (n=201): time 0.03217/1.237, allocations: 10.47 MB / 1.346 GB, free: 3.824 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001888/1.237, allocations: 360.1 kB / 1.347 GB, free: 3.395 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003985/1.241, allocations: 1.946 MB / 1.349 GB, free: 1.402 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000429/1.242, allocations: 61.7 kB / 1.349 GB, free: 1.336 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001593/1.243, allocations: 1.46 MB / 1.35 GB, free: 15.86 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009279/1.244, allocations: 0.6701 MB / 1.351 GB, free: 15.18 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/1.245, allocations: 431.7 kB / 1.351 GB, free: 14.75 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001086/1.245, allocations: 305.1 kB / 1.352 GB, free: 14.45 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/1.248, allocations: 1.189 MB / 1.353 GB, free: 13.25 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002506/1.25, allocations: 1.7 MB / 1.354 GB, free: 11.34 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004536/1.255, allocations: 2.962 MB / 1.357 GB, free: 8.211 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/1.255, allocations: 4 kB / 1.357 GB, free: 8.207 MB / 1.092 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01158/1.266, allocations: 4.677 MB / 1.362 GB, free: 3.512 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.585e-05/1.266, allocations: 19.92 kB / 1.362 GB, free: 3.492 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-05/1.266, allocations: 12 kB / 1.362 GB, free: 3.48 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007216/1.274, allocations: 1.74 MB / 1.364 GB, free: 1.734 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002079/1.276, allocations: 483.2 kB / 1.364 GB, free: 1.262 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.015/1.291, allocations: 9.762 MB / 1.374 GB, free: 7.23 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002568/1.293, allocations: 208.3 kB / 1.374 GB, free: 7.031 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004208/1.294, allocations: 99.95 kB / 1.374 GB, free: 6.934 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003855/1.298, allocations: 2.148 MB / 1.376 GB, free: 4.777 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002387/1.3, allocations: 1.622 MB / 1.377 GB, free: 2.957 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004148/1.304, allocations: 2.822 MB / 1.38 GB, free: 15.96 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.163e-05/1.304, allocations: 4 kB / 1.38 GB, free: 15.96 MB / 1.123 GB Notification: Performance of matching and sorting (n=274) (initialization_lambda0): time 0.009646/1.314, allocations: 4.075 MB / 1.384 GB, free: 11.87 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.314, allocations: 12 kB / 1.384 GB, free: 11.86 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/1.314, allocations: 15.98 kB / 1.384 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004461/1.318, allocations: 1.098 MB / 1.385 GB, free: 10.74 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002018/1.32, allocations: 0.4992 MB / 1.386 GB, free: 10.24 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00882/1.329, allocations: 5.462 MB / 1.391 GB, free: 4.645 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/1.332, allocations: 191.7 kB / 1.391 GB, free: 4.457 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/1.332, allocations: 95.95 kB / 1.391 GB, free: 4.363 MB / 1.123 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.0006673/1.333, allocations: 318.4 kB / 1.392 GB, free: 4.043 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006558/1.333, allocations: 225.3 kB / 1.392 GB, free: 3.82 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01116/1.344, allocations: 4.55 MB / 1.396 GB, free: 15.25 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.777e-05/1.344, allocations: 11.97 kB / 1.396 GB, free: 15.24 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.344, allocations: 0 / 1.396 GB, free: 15.24 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001413/1.346, allocations: 0.5997 MB / 1.397 GB, free: 14.62 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00061/1.347, allocations: 51.78 kB / 1.397 GB, free: 14.57 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/1.348, allocations: 215.7 kB / 1.397 GB, free: 14.36 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004357/1.349, allocations: 165.7 kB / 1.397 GB, free: 14.19 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009125/1.358, allocations: 4.081 MB / 1.401 GB, free: 10.1 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006603/1.365, allocations: 4.556 MB / 1.406 GB, free: 5.523 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00198/1.367, allocations: 1.358 MB / 1.407 GB, free: 4.164 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.002728/1.369, allocations: 1.349 MB / 1.408 GB, free: 2.793 MB / 1.139 GB Notification: Performance of Backend: time 5.31e-07/1.369, allocations: 0 / 1.408 GB, free: 2.793 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01218/1.382, allocations: 5.131 MB / 1.413 GB, free: 13.91 MB / 1.154 GB Notification: Performance of SimCode: time 0.01489/1.397, allocations: 6.43 MB / 1.42 GB, free: 7.453 MB / 1.154 GB Notification: Performance of Templates: time 0.1117/1.508, allocations: 63.22 MB / 1.482 GB, free: 8.691 MB / 1.217 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches