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.001457/0.001457, allocations: 104.7 kB / 16.41 MB, free: 6.508 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.001743/0.001743, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.14 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.479/2.479, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 71.83 kB / 1.019 GB, free: 9.414 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9671/0.9685, allocations: 151.6 MB / 1.167 GB, free: 3.844 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02097/0.9896, allocations: 16.71 MB / 1.184 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01216/1.002, allocations: 6.438 MB / 1.19 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001909/1.004, allocations: 59.75 kB / 1.19 GB, free: 12.56 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004002/1.008, allocations: 1.298 MB / 1.191 GB, free: 11.26 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002897/1.011, allocations: 0.8713 MB / 1.192 GB, free: 10.38 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004756/1.015, allocations: 1.546 MB / 1.194 GB, free: 8.836 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005454/1.021, allocations: 3.855 MB / 1.197 GB, free: 4.973 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00708/1.028, allocations: 4.98 MB / 1.202 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002991/1.031, allocations: 1.66 MB / 1.204 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003469/1.034, allocations: 1.994 MB / 1.206 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001148/1.036, allocations: 380 kB / 1.206 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/1.038, allocations: 0.8504 MB / 1.207 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001786/1.04, allocations: 1.493 MB / 1.208 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001721/1.042, allocations: 1.533 MB / 1.21 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.005523/1.047, allocations: 5.557 MB / 1.215 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/1.047, allocations: 0 / 1.215 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.986e-06/1.047, allocations: 4 kB / 1.215 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001434/1.047, allocations: 3.984 kB / 1.215 GB, free: 2.426 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.007306/1.055, allocations: 2.73 MB / 1.218 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/1.055, allocations: 12.92 kB / 1.218 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005055/1.06, allocations: 0.9069 MB / 1.219 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/1.063, allocations: 1.439 MB / 1.22 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/1.063, allocations: 185.5 kB / 1.221 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004233/1.064, allocations: 260.3 kB / 1.221 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007658/1.071, allocations: 4.658 MB / 1.225 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.082e-05/1.071, allocations: 7.938 kB / 1.225 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002905/1.072, allocations: 108 kB / 1.225 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/1.072, allocations: 176.3 kB / 1.226 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006674/1.079, allocations: 3.929 MB / 1.229 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02512/1.104, allocations: 21.39 MB / 1.25 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/1.107, allocations: 2.252 MB / 1.253 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/1.108, allocations: 0.7266 MB / 1.253 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.097e-05/1.108, allocations: 23.91 kB / 1.253 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/1.108, allocations: 46.42 kB / 1.253 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=62): time 3.707e-06/1.108, allocations: 0 / 1.253 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=68): time 0.007758/1.116, allocations: 4.194 MB / 1.257 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/1.116, allocations: 243.3 kB / 1.258 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/1.118, allocations: 1.168 MB / 1.259 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.186e-05/1.118, allocations: 37.7 kB / 1.259 GB, free: 3.281 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008938/1.119, allocations: 1.187 MB / 1.26 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003607/1.119, allocations: 256.5 kB / 1.26 GB, free: 1.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007161/1.12, allocations: 339 kB / 1.261 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001886/1.12, allocations: 349.9 kB / 1.261 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/1.122, allocations: 0.7542 MB / 1.262 GB, free: 384 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001963/1.124, allocations: 1.446 MB / 1.263 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002931/1.127, allocations: 2.201 MB / 1.265 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.607e-05/1.127, allocations: 8 kB / 1.265 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004026/1.131, allocations: 2.262 MB / 1.267 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/1.131, allocations: 19.97 kB / 1.267 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.655e-05/1.131, allocations: 24 kB / 1.267 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.324e-05/1.131, allocations: 36 kB / 1.267 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/1.133, allocations: 447.2 kB / 1.268 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.55e-05/1.133, allocations: 47.8 kB / 1.268 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/1.135, allocations: 239.2 kB / 1.268 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/1.135, allocations: 83.98 kB / 1.268 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00306/1.138, allocations: 1.585 MB / 1.27 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00193/1.14, allocations: 1.372 MB / 1.271 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002748/1.143, allocations: 2.016 MB / 1.273 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.922e-05/1.143, allocations: 8 kB / 1.273 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003955/1.147, allocations: 2.066 MB / 1.275 GB, free: 1.148 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/1.147, allocations: 16 kB / 1.275 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.079e-05/1.147, allocations: 24 kB / 1.275 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.727e-05/1.147, allocations: 39.94 kB / 1.275 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/1.148, allocations: 403.3 kB / 1.276 GB, free: 0.6758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-05/1.148, allocations: 56.06 kB / 1.276 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/1.15, allocations: 187.5 kB / 1.276 GB, free: 448 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/1.15, allocations: 83.98 kB / 1.276 GB, free: 364 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.0004765/1.151, allocations: 290.4 kB / 1.276 GB, free: 68 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004504/1.151, allocations: 114.6 kB / 1.276 GB, free: 15.95 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/1.153, allocations: 1.093 MB / 1.277 GB, free: 14.86 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/1.153, allocations: 12 kB / 1.277 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/1.153, allocations: 4 kB / 1.277 GB, free: 14.84 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/1.153, allocations: 7.984 kB / 1.277 GB, free: 14.83 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01472/1.168, allocations: 10.21 MB / 1.287 GB, free: 4.363 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.366e-05/1.168, allocations: 12.09 kB / 1.287 GB, free: 4.352 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007525/1.169, allocations: 191.6 kB / 1.288 GB, free: 4.164 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-05/1.169, allocations: 23.98 kB / 1.288 GB, free: 4.141 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.028e-05/1.169, allocations: 32 kB / 1.288 GB, free: 4.109 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.338e-05/1.169, allocations: 35.8 kB / 1.288 GB, free: 4.074 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.099e-05/1.169, allocations: 23.94 kB / 1.288 GB, free: 4.051 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/1.171, allocations: 2.162 MB / 1.29 GB, free: 1.672 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007866/1.172, allocations: 327.6 kB / 1.29 GB, free: 1.332 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003055/1.172, allocations: 35.98 kB / 1.29 GB, free: 1.297 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/1.174, allocations: 111.9 kB / 1.29 GB, free: 1.188 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/1.174, allocations: 103.5 kB / 1.29 GB, free: 1.086 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/1.174, allocations: 43.94 kB / 1.29 GB, free: 1.043 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001484/1.175, allocations: 0.8205 MB / 1.291 GB, free: 216 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.175, allocations: 0 / 1.291 GB, free: 216 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.003669/1.179, allocations: 0.7344 MB / 1.292 GB, free: 15.47 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 70 * 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 simulation (74): * Single equations (assignments): 74 * 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 Backend phase and start with SimCode phase: time 0.0002861/1.179, allocations: 146.9 kB / 1.292 GB, free: 15.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004401/1.184, allocations: 2.602 MB / 1.295 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.822e-05/1.184, allocations: 4 kB / 1.295 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008364/1.185, allocations: 0.5743 MB / 1.295 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.187, allocations: 254.6 kB / 1.295 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009356/1.196, allocations: 4.825 MB / 1.3 GB, free: 6.848 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002927/1.199, allocations: 2.067 MB / 1.302 GB, free: 4.746 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005782/1.2, allocations: 107.4 kB / 1.302 GB, free: 4.641 MB / 1.029 GB Notification: Performance of SimCode: time 7.52e-07/1.2, allocations: 0 / 1.302 GB, free: 4.641 MB / 1.029 GB Notification: Performance of Templates: time 0.04102/1.241, allocations: 25.95 MB / 1.328 GB, free: 10.75 MB / 1.061 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