Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 109.3 kB / 16.41 MB, free: 6.512 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.001864/0.001864, allocations: 189.5 kB / 17.35 MB, free: 5.738 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.421/1.421, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.25/2.25, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 59.91 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8299/0.8313, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine): time 0.02603/0.8574, allocations: 21.4 MB / 1.11 GB, free: 7 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.2034/1.061, allocations: 158.5 MB / 1.264 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005133/1.066, allocations: 71.69 kB / 1.264 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00588/1.072, allocations: 1.885 MB / 1.266 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.008677/1.081, allocations: 2.002 MB / 1.268 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007605/1.088, allocations: 2.337 MB / 1.27 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007759/1.096, allocations: 5.299 MB / 1.276 GB, free: 14.23 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009266/1.105, allocations: 5.692 MB / 1.281 GB, free: 8.469 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004599/1.11, allocations: 2.193 MB / 1.283 GB, free: 6.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005402/1.115, allocations: 2.439 MB / 1.286 GB, free: 3.824 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001673/1.117, allocations: 492 kB / 1.286 GB, free: 3.344 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003894/1.121, allocations: 1.26 MB / 1.287 GB, free: 2.082 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002852/1.124, allocations: 1.73 MB / 1.289 GB, free: 356 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.004729/1.129, allocations: 2.162 MB / 1.291 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01146/1.14, allocations: 7.244 MB / 1.298 GB, free: 6.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/1.14, allocations: 0 / 1.298 GB, free: 6.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.773e-06/1.14, allocations: 4 kB / 1.298 GB, free: 6.906 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002572/1.14, allocations: 0 / 1.298 GB, free: 6.906 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: 836 * Number of variables: 836 Notification: Performance of Generate backend data structure: time 0.01257/1.153, allocations: 4.181 MB / 1.302 GB, free: 2.641 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.153, allocations: 8.031 kB / 1.302 GB, free: 2.633 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004793/1.158, allocations: 0.7953 MB / 1.303 GB, free: 1.832 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006233/1.164, allocations: 2.51 MB / 1.306 GB, free: 15.27 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/1.164, allocations: 246.2 kB / 1.306 GB, free: 15.03 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009743/1.165, allocations: 308 kB / 1.306 GB, free: 14.73 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0111/1.177, allocations: 4.819 MB / 1.311 GB, free: 9.754 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.382e-05/1.177, allocations: 7.938 kB / 1.311 GB, free: 9.746 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005539/1.177, allocations: 136 kB / 1.311 GB, free: 9.613 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004107/1.178, allocations: 214.1 kB / 1.311 GB, free: 9.402 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008331/1.186, allocations: 4.372 MB / 1.315 GB, free: 5.02 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02748/1.214, allocations: 19.51 MB / 1.334 GB, free: 15.97 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/1.217, allocations: 2.08 MB / 1.337 GB, free: 13.89 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/1.219, allocations: 1.149 MB / 1.338 GB, free: 12.73 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/1.219, allocations: 138.3 kB / 1.338 GB, free: 12.58 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002086/1.221, allocations: 1.286 MB / 1.339 GB, free: 11.27 MB / 1.076 GB Notification: Performance of pre-optimization done (n=169): time 6.342e-06/1.221, allocations: 0 / 1.339 GB, free: 11.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=206): time 0.03726/1.259, allocations: 11.3 MB / 1.35 GB, free: 15.91 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/1.259, allocations: 308.7 kB / 1.35 GB, free: 15.54 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003854/1.263, allocations: 2.133 MB / 1.352 GB, free: 13.37 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0005242/1.263, allocations: 61.7 kB / 1.352 GB, free: 13.3 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.00149/1.265, allocations: 1.509 MB / 1.354 GB, free: 11.78 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009015/1.266, allocations: 0.6855 MB / 1.355 GB, free: 11.08 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/1.267, allocations: 419.4 kB / 1.355 GB, free: 10.66 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 8.927e-05/1.267, allocations: 305.1 kB / 1.355 GB, free: 10.36 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002186/1.269, allocations: 1.223 MB / 1.357 GB, free: 9.129 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00247/1.271, allocations: 1.662 MB / 1.358 GB, free: 7.305 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004532/1.276, allocations: 2.939 MB / 1.361 GB, free: 4.238 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/1.276, allocations: 0 / 1.361 GB, free: 4.238 MB / 1.092 GB Notification: Performance of matching and sorting (n=265) (initialization): time 0.01436/1.29, allocations: 5.172 MB / 1.366 GB, free: 15.04 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.329e-05/1.291, allocations: 8 kB / 1.366 GB, free: 15.03 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/1.291, allocations: 19.97 kB / 1.366 GB, free: 15.01 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01031/1.301, allocations: 2.287 MB / 1.368 GB, free: 12.7 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/1.303, allocations: 479.3 kB / 1.369 GB, free: 12.23 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02072/1.324, allocations: 15.23 MB / 1.384 GB, free: 12.17 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/1.327, allocations: 195.7 kB / 1.384 GB, free: 11.98 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004313/1.327, allocations: 91.97 kB / 1.384 GB, free: 11.89 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004035/1.331, allocations: 2.198 MB / 1.386 GB, free: 9.684 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00241/1.334, allocations: 1.576 MB / 1.388 GB, free: 7.945 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004203/1.338, allocations: 2.76 MB / 1.39 GB, free: 5.062 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.083e-06/1.338, allocations: 0 / 1.39 GB, free: 5.062 MB / 1.123 GB Notification: Performance of matching and sorting (n=265) (initialization_lambda0): time 0.01197/1.35, allocations: 4.42 MB / 1.395 GB, free: 0.6211 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.35, allocations: 11.94 kB / 1.395 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/1.35, allocations: 8 kB / 1.395 GB, free: 0.6016 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006253/1.356, allocations: 1.489 MB / 1.396 GB, free: 15.1 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00207/1.358, allocations: 499.2 kB / 1.397 GB, free: 14.61 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/1.369, allocations: 8.357 MB / 1.405 GB, free: 5.84 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002488/1.372, allocations: 190.5 kB / 1.405 GB, free: 5.656 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00031/1.372, allocations: 91.97 kB / 1.405 GB, free: 5.566 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (247): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,2), (2,2), (2,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007349/1.373, allocations: 325.4 kB / 1.405 GB, free: 5.238 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007651/1.374, allocations: 237.1 kB / 1.406 GB, free: 5.004 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/1.388, allocations: 5.202 MB / 1.411 GB, free: 15.76 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.551e-05/1.388, allocations: 15.89 kB / 1.411 GB, free: 15.75 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/1.388, allocations: 0 / 1.411 GB, free: 15.75 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001625/1.389, allocations: 0.6385 MB / 1.411 GB, free: 15.09 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006393/1.39, allocations: 51.83 kB / 1.411 GB, free: 15.04 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002106/1.392, allocations: 231.6 kB / 1.412 GB, free: 14.81 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004859/1.392, allocations: 161.8 kB / 1.412 GB, free: 14.65 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01033/1.403, allocations: 4.305 MB / 1.416 GB, free: 10.32 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00703/1.41, allocations: 4.694 MB / 1.42 GB, free: 5.609 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001879/1.412, allocations: 1.401 MB / 1.422 GB, free: 4.203 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002644/1.414, allocations: 1.505 MB / 1.423 GB, free: 2.68 MB / 1.154 GB Notification: Performance of Backend: time 1.944e-06/1.414, allocations: 0 / 1.423 GB, free: 2.68 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01172/1.426, allocations: 5.752 MB / 1.429 GB, free: 13.1 MB / 1.17 GB Notification: Performance of SimCode: time 0.01297/1.439, allocations: 6.606 MB / 1.435 GB, free: 6.469 MB / 1.17 GB Notification: Performance of Templates: time 0.1046/1.544, allocations: 66.89 MB / 1.501 GB, free: 3.992 MB / 1.232 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches