Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.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.402/1.402, 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.001168/0.001168, allocations: 187.5 kB / 326.5 MB, free: 2.238 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.952/1.952, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.0009526/0.0009526, allocations: 87.69 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.000468, allocations: 9.156 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.273, allocations: 106.3 MB / 0.9001 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.649/5.922, allocations: 2.225 GB / 3.125 GB, free: 325.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003733/5.923, allocations: 112.1 kB / 3.125 GB, free: 325.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.1507/6.073, allocations: 63.57 MB / 3.187 GB, free: 297.8 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.545e-06/6.073, allocations: 0 / 3.187 GB, free: 297.8 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001468/6.074, allocations: 39.92 kB / 3.187 GB, free: 297.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.004084/6.078, allocations: 1.532 MB / 3.189 GB, free: 296.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/6.078, allocations: 8.031 kB / 3.189 GB, free: 296.2 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/6.08, allocations: 305.8 kB / 3.189 GB, free: 295.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/6.082, allocations: 0.8377 MB / 3.19 GB, free: 295 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/6.082, allocations: 86.09 kB / 3.19 GB, free: 294.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/6.082, allocations: 108 kB / 3.19 GB, free: 294.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002285/6.084, allocations: 1.291 MB / 3.191 GB, free: 293.4 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/6.084, allocations: 0 / 3.191 GB, free: 293.4 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/6.084, allocations: 48 kB / 3.191 GB, free: 293.4 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.73e-05/6.084, allocations: 69.91 kB / 3.191 GB, free: 293.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002224/6.087, allocations: 1.456 MB / 3.193 GB, free: 291.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007086/6.094, allocations: 4.717 MB / 3.197 GB, free: 286.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/6.095, allocations: 1.025 MB / 3.198 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002335/6.096, allocations: 122.1 kB / 3.198 GB, free: 285.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008897/6.097, allocations: 0.5766 MB / 3.199 GB, free: 285.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=94): time 3.336e-06/6.097, allocations: 4 kB / 3.199 GB, free: 285.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=95): time 0.004303/6.101, allocations: 2.03 MB / 3.201 GB, free: 283.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/6.101, allocations: 295.7 kB / 3.201 GB, free: 282.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/6.103, allocations: 0.8757 MB / 3.202 GB, free: 281.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.802e-05/6.103, allocations: 41.7 kB / 3.202 GB, free: 281.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004248/6.103, allocations: 0.5466 MB / 3.203 GB, free: 281.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/6.103, allocations: 319.4 kB / 3.203 GB, free: 280.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/6.103, allocations: 16 kB / 3.203 GB, free: 280.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.607e-05/6.103, allocations: 353.9 kB / 3.203 GB, free: 280.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/6.104, allocations: 341.8 kB / 3.204 GB, free: 280.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006957/6.105, allocations: 0.5412 MB / 3.204 GB, free: 279.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/6.105, allocations: 443.2 kB / 3.205 GB, free: 279.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.768e-06/6.105, allocations: 0 / 3.205 GB, free: 279.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002142/6.108, allocations: 1.18 MB / 3.206 GB, free: 278 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002342/6.108, allocations: 1.147 MB / 3.207 GB, free: 276.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/6.108, allocations: 0 / 3.207 GB, free: 276.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008679/6.109, allocations: 212.6 kB / 3.207 GB, free: 276.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007886/6.109, allocations: 211.7 kB / 3.207 GB, free: 276.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004845/6.11, allocations: 0.642 MB / 3.208 GB, free: 275.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008837/6.111, allocations: 103.5 kB / 3.208 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-05/6.111, allocations: 36.09 kB / 3.208 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/6.111, allocations: 11.89 kB / 3.208 GB, free: 275.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001322/6.112, allocations: 0.8823 MB / 3.209 GB, free: 274.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/6.112, allocations: 4 kB / 3.209 GB, free: 274.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/6.112, allocations: 8 kB / 3.209 GB, free: 274.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000764/6.113, allocations: 211.7 kB / 3.209 GB, free: 274.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/6.113, allocations: 11.94 kB / 3.209 GB, free: 274.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007803/6.114, allocations: 103.6 kB / 3.209 GB, free: 274.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-05/6.114, allocations: 35.98 kB / 3.209 GB, free: 274.2 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.0006967/6.115, allocations: 427.5 kB / 3.21 GB, free: 273.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/6.115, allocations: 118.5 kB / 3.21 GB, free: 273.7 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002625/6.118, allocations: 1.4 MB / 3.211 GB, free: 272.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/6.118, allocations: 11.94 kB / 3.211 GB, free: 272.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/6.118, allocations: 0 / 3.211 GB, free: 272.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/6.118, allocations: 7.984 kB / 3.211 GB, free: 272.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004064/6.122, allocations: 2.72 MB / 3.214 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/6.122, allocations: 4 kB / 3.214 GB, free: 269.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000736/6.122, allocations: 195.9 kB / 3.214 GB, free: 269.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000779/6.123, allocations: 212.6 kB / 3.214 GB, free: 269.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/6.123, allocations: 27.98 kB / 3.214 GB, free: 269 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001757/6.125, allocations: 1.874 MB / 3.216 GB, free: 267 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/6.125, allocations: 3.938 kB / 3.216 GB, free: 267 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/6.127, allocations: 1.483 MB / 3.218 GB, free: 265.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008133/6.128, allocations: 359.5 kB / 3.218 GB, free: 265.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002796/6.129, allocations: 27.94 kB / 3.218 GB, free: 265.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009282/6.13, allocations: 95.91 kB / 3.218 GB, free: 265 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/6.13, allocations: 76.88 kB / 3.218 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/6.13, allocations: 35.98 kB / 3.218 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001205/6.131, allocations: 0.707 MB / 3.219 GB, free: 264.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.1e-07/6.131, allocations: 4 kB / 3.219 GB, free: 264.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002208/6.133, allocations: 499.9 kB / 3.219 GB, free: 263.7 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.001608/6.135, allocations: 0.6104 MB / 3.22 GB, free: 263.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002569/6.137, allocations: 1.42 MB / 3.221 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/6.137, allocations: 4 kB / 3.221 GB, free: 261.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009921/6.138, allocations: 0.6575 MB / 3.222 GB, free: 261.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/6.14, allocations: 298.6 kB / 3.222 GB, free: 260.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/6.144, allocations: 2.854 MB / 3.225 GB, free: 257.9 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007833/6.145, allocations: 1.213 MB / 3.226 GB, free: 256.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001507/6.146, allocations: 460.2 kB / 3.227 GB, free: 256.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/6.147, allocations: 111.4 kB / 3.227 GB, free: 256.1 MB / 0.8855 GB Notification: Performance of SimCode: time 9.92e-07/6.147, allocations: 0 / 3.227 GB, free: 256.1 MB / 0.8855 GB Notification: Performance of Templates: time 0.03152/6.178, allocations: 16.62 MB / 3.243 GB, free: 239.6 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches