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.395/1.395, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001593/0.001593, allocations: 188.4 kB / 326.5 MB, free: 2.234 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.891/1.891, allocations: 205.4 MB / 0.5775 GB, free: 20.53 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.00106/0.00106, allocations: 108.5 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003795, allocations: 6.344 kB / 0.7962 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2626, allocations: 106.3 MB / 0.9001 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.861/6.123, allocations: 2.221 GB / 3.121 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003772/6.124, allocations: 113.8 kB / 3.121 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1377/6.262, allocations: 59.03 MB / 3.179 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.026e-06/6.262, allocations: 3.812 kB / 3.179 GB, free: 226.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001183/6.262, allocations: 30.94 kB / 3.179 GB, free: 226.8 MB / 0.8855 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.002764/6.264, allocations: 1.534 MB / 3.18 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/6.265, allocations: 15.67 kB / 3.18 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/6.266, allocations: 294 kB / 3.18 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/6.267, allocations: 0.8377 MB / 3.181 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.037e-05/6.267, allocations: 84.55 kB / 3.181 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/6.268, allocations: 106.5 kB / 3.181 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/6.269, allocations: 1.292 MB / 3.183 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/6.269, allocations: 0 / 3.183 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/6.27, allocations: 49.72 kB / 3.183 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.875e-05/6.27, allocations: 56.2 kB / 3.183 GB, free: 224.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/6.272, allocations: 1.469 MB / 3.184 GB, free: 224.2 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00523/6.277, allocations: 4.728 MB / 3.189 GB, free: 221.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001515/6.278, allocations: 1.011 MB / 3.19 GB, free: 220.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002139/6.279, allocations: 121.2 kB / 3.19 GB, free: 220.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009109/6.279, allocations: 0.5775 MB / 3.19 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=94): time 2.424e-06/6.279, allocations: 4 kB / 3.19 GB, free: 220.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.004074/6.284, allocations: 2.038 MB / 3.192 GB, free: 219.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.212e-05/6.284, allocations: 294.3 kB / 3.193 GB, free: 219.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/6.285, allocations: 0.8798 MB / 3.194 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/6.285, allocations: 43.83 kB / 3.194 GB, free: 219.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/6.285, allocations: 0.5382 MB / 3.194 GB, free: 218.9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/6.286, allocations: 311.1 kB / 3.194 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.309e-05/6.286, allocations: 22.62 kB / 3.195 GB, free: 218.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.479e-05/6.286, allocations: 344.3 kB / 3.195 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005187/6.286, allocations: 352.7 kB / 3.195 GB, free: 218.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006536/6.287, allocations: 0.543 MB / 3.196 GB, free: 218 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007121/6.288, allocations: 432.6 kB / 3.196 GB, free: 218 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/6.288, allocations: 0 / 3.196 GB, free: 218 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00213/6.29, allocations: 1.191 MB / 3.197 GB, free: 217.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002964/6.29, allocations: 1.146 MB / 3.198 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/6.29, allocations: 3.891 kB / 3.198 GB, free: 216.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008923/6.291, allocations: 224.4 kB / 3.199 GB, free: 216.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008126/6.292, allocations: 201.8 kB / 3.199 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004942/6.292, allocations: 0.6398 MB / 3.199 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007655/6.293, allocations: 101.4 kB / 3.2 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.899e-05/6.293, allocations: 39.22 kB / 3.2 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.607e-06/6.293, allocations: 3.906 kB / 3.2 GB, free: 215.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001263/6.294, allocations: 0.8875 MB / 3.2 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/6.294, allocations: 3.188 kB / 3.2 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/6.294, allocations: 11.3 kB / 3.2 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007419/6.295, allocations: 212.8 kB / 3.201 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/6.295, allocations: 8.047 kB / 3.201 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006845/6.296, allocations: 101.7 kB / 3.201 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/6.296, allocations: 47.62 kB / 3.201 GB, free: 215.5 MB / 0.8855 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 () * Number of clocked 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.0007542/6.297, allocations: 413.7 kB / 3.201 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/6.297, allocations: 113.1 kB / 3.201 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002587/6.3, allocations: 1.402 MB / 3.203 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/6.3, allocations: 11.16 kB / 3.203 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/6.3, allocations: 0 / 3.203 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/6.3, allocations: 7.969 kB / 3.203 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003799/6.303, allocations: 2.735 MB / 3.205 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/6.303, allocations: 6.062 kB / 3.205 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/6.304, allocations: 196.4 kB / 3.206 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007562/6.305, allocations: 207.7 kB / 3.206 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.119e-05/6.305, allocations: 28.86 kB / 3.206 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/6.307, allocations: 1.88 MB / 3.208 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/6.307, allocations: 0 / 3.208 GB, free: 212.2 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/6.309, allocations: 1.484 MB / 3.209 GB, free: 211.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000543/6.309, allocations: 366.5 kB / 3.209 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/6.31, allocations: 25.69 kB / 3.209 GB, free: 211.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007611/6.31, allocations: 96.39 kB / 3.21 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/6.311, allocations: 75.17 kB / 3.21 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.919e-05/6.311, allocations: 38.61 kB / 3.21 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000932/6.312, allocations: 0.7026 MB / 3.21 GB, free: 211 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.71e-07/6.312, allocations: 0 / 3.21 GB, free: 211 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001678/6.313, allocations: 0.4906 MB / 3.211 GB, free: 211 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001351/6.315, allocations: 0.6093 MB / 3.211 GB, free: 210.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002418/6.317, allocations: 1.415 MB / 3.213 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/6.317, allocations: 3.656 kB / 3.213 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009308/6.318, allocations: 0.6712 MB / 3.213 GB, free: 210.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001345/6.319, allocations: 289.7 kB / 3.214 GB, free: 210.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/6.323, allocations: 2.848 MB / 3.217 GB, free: 208.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006384/6.324, allocations: 1.211 MB / 3.218 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001334/6.325, allocations: 468.8 kB / 3.218 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002846/6.326, allocations: 113.4 kB / 3.218 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.333e-06/6.326, allocations: 0 / 3.218 GB, free: 207.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.02462/6.35, allocations: 16.61 MB / 3.234 GB, free: 192 MB / 0.8855 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