Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V.1.|sen.V.2.|sen.V.3.|sen_N.V.1.|sen_N.V.2.|sen_N.V.3.|sen.theta.1.|sen.theta.2.|sen.theta.3.|sen_N.theta.1.|sen_N.theta.2.|sen_N.theta.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 109.1 kB / 16.41 MB, free: 6.387 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.001879/0.001879, allocations: 187.7 kB / 17.34 MB, free: 5.84 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.41/1.41, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 472.7 MB / 0.746 GB, free: 500 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.88 kB / 1.07 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8816/0.883, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02205/0.9051, allocations: 16.71 MB / 1.243 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01287/0.918, allocations: 6.437 MB / 1.249 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001784/0.9198, allocations: 47.88 kB / 1.249 GB, free: 6.258 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003784/0.9237, allocations: 1.294 MB / 1.25 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002522/0.9262, allocations: 0.8908 MB / 1.251 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004162/0.9304, allocations: 1.539 MB / 1.253 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.004762/0.9351, allocations: 3.855 MB / 1.256 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006855/0.942, allocations: 4.957 MB / 1.261 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/0.9448, allocations: 1.668 MB / 1.263 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003634/0.9485, allocations: 1.99 MB / 1.265 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001318/0.9498, allocations: 380 kB / 1.265 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003115/0.953, allocations: 0.8427 MB / 1.266 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.002937/0.9559, allocations: 1.501 MB / 1.267 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003743/0.9597, allocations: 1.537 MB / 1.269 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007677/0.9674, allocations: 5.573 MB / 1.274 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.9674, allocations: 0 / 1.274 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9674, allocations: 0 / 1.274 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002026/0.9676, allocations: 0 / 1.274 GB, free: 12.12 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01049/0.9781, allocations: 2.793 MB / 1.277 GB, free: 9.266 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.531e-05/0.9782, allocations: 8.031 kB / 1.277 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005636/0.9839, allocations: 0.9201 MB / 1.278 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003189/0.9871, allocations: 1.451 MB / 1.279 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001403/0.9872, allocations: 189.5 kB / 1.28 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005462/0.9878, allocations: 252.3 kB / 1.28 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007895/0.9957, allocations: 4.65 MB / 1.284 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.424e-05/0.9958, allocations: 7.938 kB / 1.284 GB, free: 1.551 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002816/0.9961, allocations: 108 kB / 1.285 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002106/0.9963, allocations: 180.2 kB / 1.285 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006889/1.003, allocations: 3.934 MB / 1.289 GB, free: 13.33 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02488/1.028, allocations: 21.42 MB / 1.309 GB, free: 6.004 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002548/1.031, allocations: 2.253 MB / 1.312 GB, free: 3.461 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/1.032, allocations: 0.7314 MB / 1.312 GB, free: 2.707 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/1.032, allocations: 12.86 kB / 1.312 GB, free: 2.695 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/1.032, allocations: 54.5 kB / 1.312 GB, free: 2.633 MB / 1.029 GB Notification: Performance of pre-optimization done (n=62): time 3.065e-06/1.032, allocations: 0 / 1.312 GB, free: 2.633 MB / 1.029 GB Notification: Performance of matching and sorting (n=68): time 0.006237/1.038, allocations: 4.381 MB / 1.317 GB, free: 14.22 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/1.038, allocations: 244.4 kB / 1.317 GB, free: 13.93 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/1.04, allocations: 1.174 MB / 1.318 GB, free: 12.73 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.878e-05/1.04, allocations: 37.7 kB / 1.318 GB, free: 12.68 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007693/1.041, allocations: 1.231 MB / 1.319 GB, free: 11.44 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/1.041, allocations: 265.8 kB / 1.32 GB, free: 11.18 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005318/1.042, allocations: 347.3 kB / 1.32 GB, free: 10.83 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001578/1.042, allocations: 341.9 kB / 1.32 GB, free: 10.49 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/1.043, allocations: 0.7503 MB / 1.321 GB, free: 9.734 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001691/1.045, allocations: 1.442 MB / 1.322 GB, free: 7.957 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/1.048, allocations: 2.197 MB / 1.325 GB, free: 5.43 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/1.048, allocations: 8 kB / 1.325 GB, free: 5.422 MB / 1.045 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003647/1.051, allocations: 2.274 MB / 1.327 GB, free: 3.141 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/1.051, allocations: 18.03 kB / 1.327 GB, free: 3.125 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/1.051, allocations: 27.75 kB / 1.327 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.514e-05/1.051, allocations: 35.98 kB / 1.327 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/1.053, allocations: 447.2 kB / 1.327 GB, free: 2.629 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.339e-05/1.053, allocations: 48.09 kB / 1.327 GB, free: 2.582 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.055, allocations: 235.4 kB / 1.328 GB, free: 2.352 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/1.055, allocations: 87.97 kB / 1.328 GB, free: 2.266 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00271/1.058, allocations: 1.589 MB / 1.329 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001529/1.059, allocations: 1.368 MB / 1.331 GB, free: 14.96 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002331/1.062, allocations: 2.024 MB / 1.332 GB, free: 12.58 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.09e-05/1.062, allocations: 8 kB / 1.332 GB, free: 12.57 MB / 1.061 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003259/1.065, allocations: 2.066 MB / 1.335 GB, free: 10.5 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/1.065, allocations: 16 kB / 1.335 GB, free: 10.48 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/1.065, allocations: 24 kB / 1.335 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/1.065, allocations: 39.94 kB / 1.335 GB, free: 10.42 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.066, allocations: 411.9 kB / 1.335 GB, free: 10.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-05/1.066, allocations: 51.8 kB / 1.335 GB, free: 9.969 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.068, allocations: 191.5 kB / 1.335 GB, free: 9.781 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/1.068, allocations: 91.97 kB / 1.335 GB, free: 9.691 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003792/1.068, allocations: 284.1 kB / 1.336 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/1.069, allocations: 115.2 kB / 1.336 GB, free: 9.293 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/1.07, allocations: 1.096 MB / 1.337 GB, free: 8.191 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/1.07, allocations: 3.984 kB / 1.337 GB, free: 8.188 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.07, allocations: 4 kB / 1.337 GB, free: 8.184 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004233/1.071, allocations: 308.2 kB / 1.337 GB, free: 7.863 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/1.071, allocations: 19.98 kB / 1.337 GB, free: 7.844 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/1.072, allocations: 175.7 kB / 1.337 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/1.072, allocations: 47.88 kB / 1.337 GB, free: 7.625 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00186/1.074, allocations: 1.742 MB / 1.339 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001649/1.076, allocations: 1.822 MB / 1.341 GB, free: 4.02 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006037/1.076, allocations: 0.492 MB / 1.341 GB, free: 3.527 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001257/1.078, allocations: 0.8166 MB / 1.342 GB, free: 2.699 MB / 1.061 GB Notification: Performance of Backend: time 2.11e-07/1.078, allocations: 4 kB / 1.342 GB, free: 2.695 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005101/1.083, allocations: 2.424 MB / 1.344 GB, free: 280 kB / 1.061 GB Notification: Performance of SimCode: time 0.00662/1.089, allocations: 4.117 MB / 1.348 GB, free: 12.1 MB / 1.076 GB Notification: Performance of Templates: time 0.04227/1.132, allocations: 26.84 MB / 1.375 GB, free: 1.387 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches