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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001522/0.001522, allocations: 112.3 kB / 16.41 MB, free: 6.008 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.001554/0.001554, allocations: 185 kB / 17.34 MB, free: 5.629 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.439/1.439, 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 11.0.1-master/package.mo): time 2.717/2.717, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001562/0.001562, allocations: 63.91 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8826/0.8842, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.01932/0.9036, allocations: 16.72 MB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01117/0.9148, allocations: 6.437 MB / 1.231 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001831/0.9167, allocations: 47.88 kB / 1.231 GB, free: 6.363 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003742/0.9204, allocations: 1.302 MB / 1.232 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002715/0.9232, allocations: 0.8752 MB / 1.233 GB, free: 4.18 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004269/0.9275, allocations: 1.539 MB / 1.235 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005069/0.9325, allocations: 3.843 MB / 1.238 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006669/0.9392, allocations: 4.964 MB / 1.243 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002824/0.9421, allocations: 1.664 MB / 1.245 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003611/0.9458, allocations: 1.994 MB / 1.247 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.001128/0.9469, allocations: 380 kB / 1.247 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.9495, allocations: 0.8427 MB / 1.248 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.002895/0.9525, allocations: 1.501 MB / 1.25 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.003925/0.9564, allocations: 1.533 MB / 1.251 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.007241/0.9637, allocations: 5.561 MB / 1.256 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.9637, allocations: 0 / 1.256 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9637, allocations: 0 / 1.256 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001826/0.9639, allocations: 0 / 1.256 GB, free: 12.25 MB / 0.9825 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.00746/0.9714, allocations: 2.734 MB / 1.259 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.9714, allocations: 11.97 kB / 1.259 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005607/0.9771, allocations: 0.9031 MB / 1.26 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003105/0.9802, allocations: 1.442 MB / 1.261 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.9804, allocations: 197.5 kB / 1.262 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.9814, allocations: 248.4 kB / 1.262 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.992, allocations: 4.646 MB / 1.266 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.9921, allocations: 7.938 kB / 1.266 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006964/0.9929, allocations: 112 kB / 1.267 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002264/0.9931, allocations: 180.2 kB / 1.267 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007714/1.001, allocations: 3.924 MB / 1.271 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02587/1.027, allocations: 21.4 MB / 1.291 GB, free: 6.254 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/1.03, allocations: 2.256 MB / 1.294 GB, free: 3.707 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/1.031, allocations: 0.7282 MB / 1.294 GB, free: 2.957 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.309e-05/1.031, allocations: 11.98 kB / 1.294 GB, free: 2.945 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/1.031, allocations: 50.5 kB / 1.294 GB, free: 2.887 MB / 1.014 GB Notification: Performance of pre-optimization done (n=62): time 3.176e-06/1.031, allocations: 0 / 1.294 GB, free: 2.887 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.006942/1.038, allocations: 4.201 MB / 1.298 GB, free: 14.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001301/1.038, allocations: 243.3 kB / 1.299 GB, free: 14.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/1.04, allocations: 1.171 MB / 1.3 GB, free: 13.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.924e-05/1.04, allocations: 33.7 kB / 1.3 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007978/1.041, allocations: 1.187 MB / 1.301 GB, free: 11.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/1.041, allocations: 256.5 kB / 1.301 GB, free: 11.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005775/1.042, allocations: 346.9 kB / 1.302 GB, free: 11.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.042, allocations: 341.9 kB / 1.302 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/1.043, allocations: 0.7542 MB / 1.303 GB, free: 10.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001733/1.045, allocations: 1.45 MB / 1.304 GB, free: 8.422 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/1.048, allocations: 2.193 MB / 1.306 GB, free: 5.898 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.202e-05/1.048, allocations: 11.94 kB / 1.306 GB, free: 5.887 MB / 1.029 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004079/1.052, allocations: 2.261 MB / 1.308 GB, free: 3.617 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.682e-05/1.052, allocations: 19.94 kB / 1.308 GB, free: 3.598 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.185e-05/1.052, allocations: 24.84 kB / 1.309 GB, free: 3.574 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.102e-05/1.052, allocations: 32 kB / 1.309 GB, free: 3.543 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/1.054, allocations: 451.2 kB / 1.309 GB, free: 3.102 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.822e-05/1.054, allocations: 47.86 kB / 1.309 GB, free: 3.055 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/1.056, allocations: 231.2 kB / 1.309 GB, free: 2.828 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/1.056, allocations: 87.97 kB / 1.309 GB, free: 2.742 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002702/1.059, allocations: 1.585 MB / 1.311 GB, free: 1.152 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001709/1.061, allocations: 1.38 MB / 1.312 GB, free: 15.43 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002616/1.063, allocations: 2.016 MB / 1.314 GB, free: 13.06 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.683e-05/1.063, allocations: 8 kB / 1.314 GB, free: 13.05 MB / 1.045 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003845/1.067, allocations: 2.062 MB / 1.316 GB, free: 10.98 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/1.067, allocations: 12.19 kB / 1.316 GB, free: 10.97 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/1.067, allocations: 32 kB / 1.316 GB, free: 10.94 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.735e-05/1.067, allocations: 35.94 kB / 1.316 GB, free: 10.9 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/1.069, allocations: 411.3 kB / 1.317 GB, free: 10.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-05/1.069, allocations: 47.8 kB / 1.317 GB, free: 10.45 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/1.071, allocations: 187.5 kB / 1.317 GB, free: 10.27 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/1.071, allocations: 87.97 kB / 1.317 GB, free: 10.18 MB / 1.045 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.0004545/1.071, allocations: 295.5 kB / 1.317 GB, free: 9.887 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004184/1.072, allocations: 106.6 kB / 1.317 GB, free: 9.781 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001763/1.073, allocations: 1.097 MB / 1.318 GB, free: 8.676 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/1.073, allocations: 8 kB / 1.318 GB, free: 8.668 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/1.073, allocations: 4 kB / 1.318 GB, free: 8.664 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.073, allocations: 3.984 kB / 1.318 GB, free: 8.66 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01412/1.088, allocations: 10.21 MB / 1.328 GB, free: 14.19 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.759e-05/1.088, allocations: 16.23 kB / 1.328 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007435/1.088, allocations: 199.6 kB / 1.329 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-05/1.088, allocations: 20 kB / 1.329 GB, free: 13.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/1.089, allocations: 36 kB / 1.329 GB, free: 13.93 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.487e-05/1.089, allocations: 31.86 kB / 1.329 GB, free: 13.89 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.571e-05/1.089, allocations: 19.94 kB / 1.329 GB, free: 13.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/1.091, allocations: 2.162 MB / 1.331 GB, free: 11.5 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006676/1.092, allocations: 319.6 kB / 1.331 GB, free: 11.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003026/1.092, allocations: 39.98 kB / 1.331 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/1.093, allocations: 115.8 kB / 1.331 GB, free: 11.01 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/1.094, allocations: 99.55 kB / 1.331 GB, free: 10.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.985e-05/1.094, allocations: 44 kB / 1.331 GB, free: 10.87 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001516/1.095, allocations: 0.8127 MB / 1.332 GB, free: 10.05 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.794e-06/1.095, allocations: 0 / 1.332 GB, free: 10.05 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.003572/1.099, allocations: 0.7382 MB / 1.333 GB, free: 9.309 MB / 1.061 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.0003589/1.099, allocations: 161 kB / 1.333 GB, free: 9.141 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004843/1.104, allocations: 2.6 MB / 1.336 GB, free: 6.551 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.055e-05/1.104, allocations: 4 kB / 1.336 GB, free: 6.547 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008766/1.105, allocations: 0.5723 MB / 1.336 GB, free: 5.977 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/1.107, allocations: 243.5 kB / 1.336 GB, free: 5.75 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008626/1.116, allocations: 4.821 MB / 1.341 GB, free: 0.6719 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/1.119, allocations: 2.063 MB / 1.343 GB, free: 14.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005902/1.119, allocations: 119.3 kB / 1.343 GB, free: 14.45 MB / 1.076 GB Notification: Performance of SimCode: time 1.292e-06/1.119, allocations: 0 / 1.343 GB, free: 14.45 MB / 1.076 GB Notification: Performance of Templates: time 0.0405/1.16, allocations: 25.95 MB / 1.369 GB, free: 4.598 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