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.42/1.42, allocations: 249.5 MB / 257 MB, free: 6.918 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.001089/0.001089, allocations: 196.2 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.000893/0.0008931, allocations: 87.28 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.41e-05/1.412e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 106.3 MB / 0.8852 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.915/5.125, allocations: 2.221 GB / 3.106 GB, free: 201.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/5.126, allocations: 103.9 kB / 3.106 GB, free: 201.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1274/5.253, allocations: 57.35 MB / 3.162 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.993e-06/5.253, allocations: 4 kB / 3.162 GB, free: 143.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.501e-05/5.253, allocations: 35.94 kB / 3.162 GB, free: 143.7 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.002229/5.256, allocations: 1.365 MB / 3.164 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/5.256, allocations: 8.031 kB / 3.164 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/5.257, allocations: 301.9 kB / 3.164 GB, free: 142 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/5.258, allocations: 0.8301 MB / 3.165 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/5.258, allocations: 39.98 kB / 3.165 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001169/5.258, allocations: 63.98 kB / 3.165 GB, free: 141 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00163/5.26, allocations: 1.288 MB / 3.166 GB, free: 139.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/5.262, allocations: 1.111 MB / 3.167 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/5.262, allocations: 0 / 3.167 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.492e-05/5.262, allocations: 4 kB / 3.167 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.327e-05/5.262, allocations: 61.92 kB / 3.167 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005032/5.267, allocations: 4.512 MB / 3.172 GB, free: 133.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/5.268, allocations: 0.9187 MB / 3.173 GB, free: 132.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004761/5.269, allocations: 384 kB / 3.173 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/5.269, allocations: 117.9 kB / 3.173 GB, free: 132.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006957/5.27, allocations: 0.5286 MB / 3.174 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 3.256e-06/5.27, allocations: 0 / 3.174 GB, free: 131.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.002346/5.272, allocations: 1.36 MB / 3.175 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/5.272, allocations: 295.5 kB / 3.175 GB, free: 130 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009026/5.273, allocations: 0.7742 MB / 3.176 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.201e-05/5.273, allocations: 33.69 kB / 3.176 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003104/5.273, allocations: 0.539 MB / 3.176 GB, free: 128.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/5.274, allocations: 307.4 kB / 3.177 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-05/5.274, allocations: 0 / 3.177 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.293e-05/5.274, allocations: 337.9 kB / 3.177 GB, free: 128 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/5.274, allocations: 318.5 kB / 3.177 GB, free: 127.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/5.275, allocations: 0.4947 MB / 3.178 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/5.275, allocations: 416.3 kB / 3.178 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/5.275, allocations: 7.953 kB / 3.178 GB, free: 126.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001777/5.277, allocations: 1.046 MB / 3.179 GB, free: 125.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002988/5.277, allocations: 1.145 MB / 3.18 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/5.277, allocations: 4 kB / 3.18 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006376/5.278, allocations: 120.8 kB / 3.181 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/5.279, allocations: 211.6 kB / 3.181 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005092/5.279, allocations: 0.6498 MB / 3.181 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007006/5.28, allocations: 79.47 kB / 3.181 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.307e-05/5.28, allocations: 48.03 kB / 3.181 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/5.28, allocations: 4 kB / 3.181 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001206/5.281, allocations: 0.7755 MB / 3.182 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/5.281, allocations: 4 kB / 3.182 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.545e-06/5.281, allocations: 8 kB / 3.182 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007385/5.282, allocations: 216 kB / 3.182 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/5.282, allocations: 8 kB / 3.182 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005727/5.283, allocations: 83.38 kB / 3.183 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/5.283, allocations: 39.98 kB / 3.183 GB, free: 122.1 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.0002002/5.283, allocations: 130 kB / 3.183 GB, free: 122 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/5.283, allocations: 110.8 kB / 3.183 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/5.286, allocations: 1.313 MB / 3.184 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/5.286, allocations: 8 kB / 3.184 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/5.286, allocations: 0 / 3.184 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/5.286, allocations: 7.984 kB / 3.184 GB, free: 120.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/5.289, allocations: 2.501 MB / 3.187 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/5.289, allocations: 4 kB / 3.187 GB, free: 118 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006811/5.29, allocations: 187.7 kB / 3.187 GB, free: 117.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000714/5.29, allocations: 216.6 kB / 3.187 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/5.29, allocations: 19.98 kB / 3.187 GB, free: 117.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/5.292, allocations: 1.756 MB / 3.189 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/5.292, allocations: 4 kB / 3.189 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001923/5.294, allocations: 1.419 MB / 3.19 GB, free: 114.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/5.294, allocations: 355.4 kB / 3.19 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/5.295, allocations: 7.938 kB / 3.19 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007234/5.295, allocations: 75.91 kB / 3.19 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/5.295, allocations: 77.16 kB / 3.191 GB, free: 113.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/5.295, allocations: 35.98 kB / 3.191 GB, free: 113.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006798/5.296, allocations: 0.6201 MB / 3.191 GB, free: 113 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.71e-07/5.296, allocations: 0 / 3.191 GB, free: 113 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001532/5.298, allocations: 451.8 kB / 3.192 GB, free: 112.6 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.001211/5.299, allocations: 0.5165 MB / 3.192 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001894/5.301, allocations: 1.309 MB / 3.193 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/5.301, allocations: 4.062 kB / 3.193 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007547/5.302, allocations: 0.6039 MB / 3.194 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/5.303, allocations: 269.8 kB / 3.194 GB, free: 110 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/5.306, allocations: 1.744 MB / 3.196 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/5.306, allocations: 1.218 MB / 3.197 GB, free: 106.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001546/5.308, allocations: 0.5933 MB / 3.198 GB, free: 106.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002055/5.308, allocations: 91.41 kB / 3.198 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of SimCode: time 9.52e-07/5.308, allocations: 0 / 3.198 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.02463/5.333, allocations: 17.04 MB / 3.214 GB, free: 89.28 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