Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.001257/0.001257, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.001288/0.001289, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.447/1.447, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 63.89 kB / 1.019 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9356/0.9374, allocations: 151.6 MB / 1.167 GB, free: 3.941 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01906/0.9565, allocations: 16.72 MB / 1.184 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01081/0.9673, allocations: 6.434 MB / 1.19 GB, free: 12.71 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/0.9688, allocations: 51.88 kB / 1.19 GB, free: 12.66 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003506/0.9723, allocations: 1.296 MB / 1.191 GB, free: 11.36 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002437/0.9747, allocations: 0.8792 MB / 1.192 GB, free: 10.48 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003616/0.9784, allocations: 1.544 MB / 1.194 GB, free: 8.934 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003815/0.9822, allocations: 3.859 MB / 1.197 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005227/0.9874, allocations: 4.98 MB / 1.202 GB, free: 20 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002564/0.99, allocations: 1.667 MB / 1.204 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002767/0.9928, allocations: 1.983 MB / 1.206 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005688/0.9934, allocations: 380 kB / 1.206 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.9951, allocations: 0.8504 MB / 1.207 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001437/0.9965, allocations: 1.493 MB / 1.208 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.00193/0.9985, allocations: 1.533 MB / 1.21 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005744/1.004, allocations: 5.557 MB / 1.215 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.004, allocations: 0 / 1.215 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.954e-06/1.004, allocations: 0 / 1.215 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001502/1.004, allocations: 0 / 1.215 GB, free: 2.531 MB / 0.9356 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.006261/1.011, allocations: 2.746 MB / 1.218 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.83e-05/1.011, allocations: 8.031 kB / 1.218 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005389/1.016, allocations: 0.9031 MB / 1.219 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003754/1.02, allocations: 1.439 MB / 1.22 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/1.02, allocations: 189.5 kB / 1.221 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007064/1.021, allocations: 252.3 kB / 1.221 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/1.031, allocations: 4.654 MB / 1.225 GB, free: 8.039 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001917/1.032, allocations: 15.86 kB / 1.225 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009038/1.033, allocations: 116 kB / 1.225 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004065/1.033, allocations: 176.3 kB / 1.226 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00988/1.043, allocations: 3.917 MB / 1.229 GB, free: 3.812 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03031/1.073, allocations: 21.4 MB / 1.25 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/1.077, allocations: 2.244 MB / 1.253 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/1.078, allocations: 0.7347 MB / 1.253 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.577e-05/1.078, allocations: 11.98 kB / 1.253 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/1.078, allocations: 58.36 kB / 1.253 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=62): time 3.537e-06/1.078, allocations: 0 / 1.253 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of matching and sorting (n=68): time 0.008444/1.086, allocations: 4.2 MB / 1.257 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002322/1.087, allocations: 243.3 kB / 1.258 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/1.089, allocations: 1.163 MB / 1.259 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001445/1.089, allocations: 37.7 kB / 1.259 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009013/1.09, allocations: 1.191 MB / 1.26 GB, free: 2.156 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/1.09, allocations: 252.6 kB / 1.26 GB, free: 1.906 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009197/1.091, allocations: 335 kB / 1.261 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002662/1.092, allocations: 345.9 kB / 1.261 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001806/1.093, allocations: 0.7619 MB / 1.262 GB, free: 472 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002726/1.096, allocations: 1.446 MB / 1.263 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003658/1.1, allocations: 2.193 MB / 1.265 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.451e-05/1.1, allocations: 4 kB / 1.265 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004928/1.105, allocations: 2.261 MB / 1.267 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/1.105, allocations: 16 kB / 1.267 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.447e-05/1.105, allocations: 31.88 kB / 1.267 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.717e-05/1.105, allocations: 36.81 kB / 1.267 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/1.107, allocations: 451.2 kB / 1.268 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.196e-05/1.107, allocations: 47.8 kB / 1.268 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002078/1.109, allocations: 231.2 kB / 1.268 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002009/1.109, allocations: 87.97 kB / 1.268 GB, free: 9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003253/1.112, allocations: 1.589 MB / 1.27 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002067/1.115, allocations: 1.376 MB / 1.271 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002914/1.117, allocations: 2.008 MB / 1.273 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.173e-05/1.118, allocations: 8 kB / 1.273 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.004477/1.122, allocations: 2.066 MB / 1.275 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/1.122, allocations: 16 kB / 1.275 GB, free: 1.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-05/1.122, allocations: 28.16 kB / 1.275 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.098e-05/1.122, allocations: 43.92 kB / 1.275 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/1.124, allocations: 407.2 kB / 1.276 GB, free: 0.7578 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.17e-05/1.124, allocations: 47.86 kB / 1.276 GB, free: 0.7109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0022/1.126, allocations: 183.5 kB / 1.276 GB, free: 0.5312 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/1.126, allocations: 91.91 kB / 1.276 GB, free: 452 kB / 0.9981 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.0005702/1.127, allocations: 288.2 kB / 1.276 GB, free: 156 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004856/1.127, allocations: 110.7 kB / 1.276 GB, free: 44 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/1.129, allocations: 1.096 MB / 1.277 GB, free: 14.94 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/1.129, allocations: 7.984 kB / 1.277 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/1.129, allocations: 0 / 1.277 GB, free: 14.93 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008349/1.13, allocations: 307.6 kB / 1.278 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003071/1.13, allocations: 16 kB / 1.278 GB, free: 14.6 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/1.132, allocations: 175.7 kB / 1.278 GB, free: 14.43 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/1.132, allocations: 51.88 kB / 1.278 GB, free: 14.38 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002151/1.134, allocations: 1.737 MB / 1.28 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002108/1.136, allocations: 1.806 MB / 1.281 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006726/1.137, allocations: 0.5041 MB / 1.282 GB, free: 10.29 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001645/1.139, allocations: 0.8088 MB / 1.283 GB, free: 9.469 MB / 1.014 GB Notification: Performance of Backend: time 7.01e-07/1.139, allocations: 4 kB / 1.283 GB, free: 9.465 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00607/1.145, allocations: 2.425 MB / 1.285 GB, free: 7.039 MB / 1.014 GB Notification: Performance of SimCode: time 0.008062/1.153, allocations: 4.071 MB / 1.289 GB, free: 2.926 MB / 1.014 GB Notification: Performance of Templates: time 0.04827/1.201, allocations: 26.85 MB / 1.315 GB, free: 8.191 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches