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.001584/0.001584, allocations: 111 kB / 16.41 MB, free: 6.461 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.001786/0.001787, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.1 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.577/2.577, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 64.06 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02014/1.028, allocations: 16.71 MB / 1.184 GB, free: 3.086 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01117/1.039, allocations: 6.442 MB / 1.19 GB, free: 12.62 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001664/1.041, allocations: 51.88 kB / 1.19 GB, free: 12.57 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003758/1.045, allocations: 1.294 MB / 1.191 GB, free: 11.27 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00262/1.048, allocations: 0.8792 MB / 1.192 GB, free: 10.39 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004418/1.052, allocations: 1.547 MB / 1.194 GB, free: 8.844 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.004808/1.057, allocations: 3.855 MB / 1.197 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006386/1.063, allocations: 4.98 MB / 1.202 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00267/1.066, allocations: 1.667 MB / 1.204 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003369/1.069, allocations: 1.987 MB / 1.206 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001064/1.07, allocations: 380 kB / 1.206 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/1.073, allocations: 0.8465 MB / 1.207 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002267/1.075, allocations: 1.497 MB / 1.208 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002854/1.078, allocations: 1.529 MB / 1.21 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006468/1.084, allocations: 5.577 MB / 1.215 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/1.084, allocations: 0 / 1.215 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.093e-06/1.084, allocations: 0 / 1.215 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001399/1.085, allocations: 0 / 1.215 GB, free: 2.422 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.006942/1.091, allocations: 2.793 MB / 1.218 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.716e-05/1.092, allocations: 8.922 kB / 1.218 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005267/1.097, allocations: 0.9162 MB / 1.219 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002941/1.1, allocations: 1.455 MB / 1.22 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001535/1.1, allocations: 185.5 kB / 1.221 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005478/1.101, allocations: 256.3 kB / 1.221 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008614/1.109, allocations: 4.642 MB / 1.225 GB, free: 7.867 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.957e-05/1.109, allocations: 15.83 kB / 1.225 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003142/1.11, allocations: 112 kB / 1.226 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002101/1.11, allocations: 180.2 kB / 1.226 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006986/1.117, allocations: 3.921 MB / 1.23 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02802/1.145, allocations: 21.43 MB / 1.25 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003105/1.148, allocations: 2.254 MB / 1.253 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/1.149, allocations: 0.7425 MB / 1.253 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.523e-05/1.149, allocations: 4 kB / 1.253 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/1.149, allocations: 58.36 kB / 1.253 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=62): time 3.647e-06/1.149, allocations: 0 / 1.253 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of matching and sorting (n=68): time 0.008246/1.158, allocations: 4.376 MB / 1.258 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/1.158, allocations: 244.4 kB / 1.258 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/1.16, allocations: 1.174 MB / 1.259 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.453e-05/1.16, allocations: 37.7 kB / 1.259 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009447/1.161, allocations: 1.231 MB / 1.26 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000275/1.162, allocations: 261.9 kB / 1.261 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005846/1.162, allocations: 339.3 kB / 1.261 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.162, allocations: 349.9 kB / 1.261 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001411/1.164, allocations: 0.7542 MB / 1.262 GB, free: 36 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001897/1.166, allocations: 1.442 MB / 1.263 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003147/1.169, allocations: 2.197 MB / 1.266 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.815e-05/1.169, allocations: 7.938 kB / 1.266 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004505/1.173, allocations: 2.278 MB / 1.268 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/1.173, allocations: 15.94 kB / 1.268 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.711e-05/1.173, allocations: 24 kB / 1.268 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.097e-05/1.173, allocations: 36 kB / 1.268 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001681/1.175, allocations: 451.5 kB / 1.268 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.924e-05/1.175, allocations: 47.86 kB / 1.268 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/1.177, allocations: 231.4 kB / 1.269 GB, free: 8.648 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/1.177, allocations: 87.97 kB / 1.269 GB, free: 8.562 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002699/1.18, allocations: 1.589 MB / 1.27 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001755/1.182, allocations: 1.376 MB / 1.271 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00268/1.184, allocations: 2.004 MB / 1.273 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.187e-05/1.185, allocations: 8 kB / 1.273 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.00376/1.188, allocations: 2.074 MB / 1.275 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/1.188, allocations: 16 kB / 1.275 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.583e-05/1.188, allocations: 24 kB / 1.276 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.943e-05/1.188, allocations: 40.66 kB / 1.276 GB, free: 0.7227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/1.19, allocations: 411.3 kB / 1.276 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.775e-05/1.19, allocations: 51.8 kB / 1.276 GB, free: 276 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/1.192, allocations: 195.5 kB / 1.276 GB, free: 80 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/1.192, allocations: 88.02 kB / 1.276 GB, free: 15.99 MB / 1.014 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.0005237/1.192, allocations: 288.2 kB / 1.277 GB, free: 15.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003996/1.193, allocations: 111.3 kB / 1.277 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001753/1.195, allocations: 1.097 MB / 1.278 GB, free: 14.49 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/1.195, allocations: 12 kB / 1.278 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.195, allocations: 3.984 kB / 1.278 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/1.195, allocations: 7.984 kB / 1.278 GB, free: 14.47 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01512/1.21, allocations: 10.21 MB / 1.288 GB, free: 3.992 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.511e-05/1.21, allocations: 12 kB / 1.288 GB, free: 3.98 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007377/1.211, allocations: 191.6 kB / 1.288 GB, free: 3.793 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/1.211, allocations: 20 kB / 1.288 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.627e-05/1.211, allocations: 32.72 kB / 1.288 GB, free: 3.742 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-05/1.211, allocations: 31.92 kB / 1.288 GB, free: 3.711 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.796e-05/1.211, allocations: 27.88 kB / 1.288 GB, free: 3.684 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/1.213, allocations: 2.163 MB / 1.29 GB, free: 1.305 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006232/1.214, allocations: 336.2 kB / 1.29 GB, free: 0.957 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/1.214, allocations: 35.98 kB / 1.29 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/1.215, allocations: 103.8 kB / 1.291 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/1.216, allocations: 107.5 kB / 1.291 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.725e-05/1.216, allocations: 40 kB / 1.291 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001492/1.217, allocations: 0.8166 MB / 1.292 GB, free: 15.85 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.21e-07/1.217, allocations: 0 / 1.292 GB, free: 15.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003525/1.221, allocations: 0.7383 MB / 1.292 GB, free: 15.11 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.0003025/1.221, allocations: 154.8 kB / 1.292 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.004527/1.225, allocations: 2.603 MB / 1.295 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.578e-05/1.226, allocations: 5 kB / 1.295 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007922/1.226, allocations: 0.5732 MB / 1.295 GB, free: 11.78 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/1.229, allocations: 250.5 kB / 1.296 GB, free: 11.55 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008737/1.237, allocations: 4.886 MB / 1.301 GB, free: 6.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002562/1.24, allocations: 2.063 MB / 1.303 GB, free: 4.312 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000532/1.24, allocations: 103.4 kB / 1.303 GB, free: 4.211 MB / 1.029 GB Notification: Performance of SimCode: time 1.423e-06/1.24, allocations: 3.938 kB / 1.303 GB, free: 4.207 MB / 1.029 GB Notification: Performance of Templates: time 0.0421/1.283, allocations: 25.96 MB / 1.328 GB, free: 10.31 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