Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tur.P|res.P|sen.V|sou.P.real|sou.P.apparent",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tur.P|res.P|sen.V|sou.P.real|sou.P.apparent",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.412/1.412, allocations: 249.3 MB / 261.9 MB, free: 5.938 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 172.9 kB / 321.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009561/0.0009561, allocations: 86.48 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.353e-05/3.355e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2241, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.797/5.021, allocations: 2.221 GB / 3.112 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003657/5.022, allocations: 103.9 kB / 3.113 GB, free: 147.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1281/5.15, allocations: 58.62 MB / 3.17 GB, free: 88.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.593e-06/5.15, allocations: 4 kB / 3.17 GB, free: 88.37 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.684e-05/5.15, allocations: 35.94 kB / 3.17 GB, free: 88.34 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.002298/5.152, allocations: 1.369 MB / 3.171 GB, free: 86.91 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/5.152, allocations: 8.031 kB / 3.171 GB, free: 86.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/5.154, allocations: 305.8 kB / 3.171 GB, free: 86.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001303/5.155, allocations: 0.8339 MB / 3.172 GB, free: 85.73 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.084e-05/5.155, allocations: 82.09 kB / 3.172 GB, free: 85.64 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/5.155, allocations: 100 kB / 3.172 GB, free: 85.55 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001751/5.157, allocations: 1.262 MB / 3.174 GB, free: 84.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/5.157, allocations: 0 / 3.174 GB, free: 84.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/5.157, allocations: 44 kB / 3.174 GB, free: 84.15 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-05/5.157, allocations: 57.98 kB / 3.174 GB, free: 84.09 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/5.159, allocations: 1.413 MB / 3.175 GB, free: 82.68 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00503/5.164, allocations: 4.732 MB / 3.18 GB, free: 77.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/5.165, allocations: 0.9703 MB / 3.181 GB, free: 76.71 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/5.166, allocations: 413.3 kB / 3.181 GB, free: 76.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/5.166, allocations: 117.9 kB / 3.181 GB, free: 76.17 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007168/5.167, allocations: 0.5536 MB / 3.182 GB, free: 75.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 2.846e-06/5.167, allocations: 0 / 3.182 GB, free: 75.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.002469/5.169, allocations: 1.434 MB / 3.183 GB, free: 74.14 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.332e-05/5.169, allocations: 299.5 kB / 3.183 GB, free: 73.79 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009867/5.17, allocations: 0.8643 MB / 3.184 GB, free: 72.89 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-05/5.17, allocations: 41.7 kB / 3.184 GB, free: 72.85 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/5.171, allocations: 0.5428 MB / 3.185 GB, free: 72.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/5.171, allocations: 311.4 kB / 3.185 GB, free: 71.99 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/5.171, allocations: 20 kB / 3.185 GB, free: 71.97 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.966e-05/5.171, allocations: 341.9 kB / 3.186 GB, free: 71.63 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/5.171, allocations: 329.9 kB / 3.186 GB, free: 71.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/5.172, allocations: 0.5224 MB / 3.186 GB, free: 70.71 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005294/5.173, allocations: 409.9 kB / 3.187 GB, free: 70.31 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/5.173, allocations: 112 / 3.187 GB, free: 70.31 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001834/5.174, allocations: 1.14 MB / 3.188 GB, free: 69.16 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002663/5.175, allocations: 1.146 MB / 3.189 GB, free: 67.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/5.175, allocations: 3.984 kB / 3.189 GB, free: 67.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008653/5.176, allocations: 208.6 kB / 3.189 GB, free: 67.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007777/5.176, allocations: 207.7 kB / 3.189 GB, free: 67.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004842/5.177, allocations: 0.6422 MB / 3.19 GB, free: 66.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000692/5.178, allocations: 111.2 kB / 3.19 GB, free: 66.74 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/5.178, allocations: 36.05 kB / 3.19 GB, free: 66.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/5.178, allocations: 4 kB / 3.19 GB, free: 66.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001144/5.179, allocations: 0.8341 MB / 3.191 GB, free: 65.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/5.179, allocations: 11.94 kB / 3.191 GB, free: 65.85 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/5.179, allocations: 8 kB / 3.191 GB, free: 65.84 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007522/5.18, allocations: 212.1 kB / 3.191 GB, free: 65.64 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/5.18, allocations: 15.92 kB / 3.191 GB, free: 65.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005771/5.18, allocations: 91.39 kB / 3.191 GB, free: 65.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.337e-05/5.18, allocations: 43.97 kB / 3.191 GB, free: 65.49 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001925/5.181, allocations: 156.9 kB / 3.191 GB, free: 65.33 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/5.181, allocations: 114.7 kB / 3.192 GB, free: 65.21 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002401/5.183, allocations: 1.349 MB / 3.193 GB, free: 63.86 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/5.183, allocations: 12 kB / 3.193 GB, free: 63.84 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/5.183, allocations: 0 / 3.193 GB, free: 63.84 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/5.183, allocations: 3.984 kB / 3.193 GB, free: 63.84 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/5.187, allocations: 2.685 MB / 3.196 GB, free: 61.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/5.187, allocations: 3.984 kB / 3.196 GB, free: 61.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007052/5.187, allocations: 195.7 kB / 3.196 GB, free: 60.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007206/5.188, allocations: 208.6 kB / 3.196 GB, free: 60.68 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/5.188, allocations: 27.98 kB / 3.196 GB, free: 60.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/5.19, allocations: 1.823 MB / 3.198 GB, free: 58.69 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/5.19, allocations: 0 / 3.198 GB, free: 58.69 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/5.192, allocations: 1.452 MB / 3.199 GB, free: 57.16 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004423/5.192, allocations: 359.2 kB / 3.2 GB, free: 56.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/5.192, allocations: 20 kB / 3.2 GB, free: 56.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007253/5.193, allocations: 103.8 kB / 3.2 GB, free: 56.67 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/5.193, allocations: 68.91 kB / 3.2 GB, free: 56.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/5.193, allocations: 39.97 kB / 3.2 GB, free: 56.56 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007958/5.194, allocations: 0.684 MB / 3.2 GB, free: 55.86 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/5.194, allocations: 0 / 3.2 GB, free: 55.86 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001496/5.196, allocations: 0.4959 MB / 3.201 GB, free: 55.36 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001259/5.197, allocations: 0.571 MB / 3.201 GB, free: 54.88 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002009/5.199, allocations: 1.381 MB / 3.203 GB, free: 53.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/5.199, allocations: 0 / 3.203 GB, free: 53.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008479/5.2, allocations: 0.6333 MB / 3.203 GB, free: 52.86 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/5.201, allocations: 293.8 kB / 3.204 GB, free: 52.57 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002742/5.204, allocations: 1.807 MB / 3.205 GB, free: 50.72 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/5.204, allocations: 1.206 MB / 3.207 GB, free: 49.48 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001571/5.206, allocations: 0.6015 MB / 3.207 GB, free: 48.88 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/5.206, allocations: 91.41 kB / 3.207 GB, free: 48.79 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/5.206, allocations: 0 / 3.207 GB, free: 48.79 MB / 0.8698 GB Notification: Performance of Templates: time 0.02626/5.232, allocations: 18.27 MB / 3.225 GB, free: 30.6 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches