Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001842/0.001842, allocations: 114.9 kB / 16.42 MB, free: 6.469 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.002118/0.002119, allocations: 187.9 kB / 17.35 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.448/1.448, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002257/0.002257, allocations: 63.91 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8455/0.8478, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02106/0.8689, allocations: 16.71 MB / 1.105 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01419/0.8831, allocations: 6.425 MB / 1.111 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/0.8856, allocations: 52.72 kB / 1.111 GB, free: 6.027 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003608/0.8892, allocations: 1.298 MB / 1.113 GB, free: 5.242 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003185/0.8924, allocations: 0.8899 MB / 1.113 GB, free: 4.727 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004768/0.8972, allocations: 1.546 MB / 1.115 GB, free: 3.871 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006015/0.9032, allocations: 3.849 MB / 1.119 GB, free: 2.211 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006574/0.9098, allocations: 4.961 MB / 1.124 GB, free: 268 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003629/0.9135, allocations: 1.667 MB / 1.125 GB, free: 15.49 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003603/0.9171, allocations: 1.988 MB / 1.127 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009112/0.918, allocations: 379.8 kB / 1.127 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.9205, allocations: 0.8484 MB / 1.128 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002144/0.9227, allocations: 1.5 MB / 1.13 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002575/0.9253, allocations: 1.533 MB / 1.131 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009353/0.9346, allocations: 5.561 MB / 1.137 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.872e-06/0.9347, allocations: 0 / 1.137 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9347, allocations: 0 / 1.137 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001855/0.9349, allocations: 0 / 1.137 GB, free: 11.14 MB / 0.8887 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.009854/0.9447, allocations: 2.735 MB / 1.139 GB, free: 9.566 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.205e-05/0.9448, allocations: 8.875 kB / 1.139 GB, free: 9.566 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005829/0.9507, allocations: 0.9019 MB / 1.14 GB, free: 9.406 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004908/0.9556, allocations: 1.439 MB / 1.142 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002401/0.9559, allocations: 193.4 kB / 1.142 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006374/0.9565, allocations: 254 kB / 1.142 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.9672, allocations: 4.657 MB / 1.147 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.987e-05/0.9673, allocations: 8.281 kB / 1.147 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003605/0.9676, allocations: 105.8 kB / 1.147 GB, free: 6.23 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000271/0.9679, allocations: 182.8 kB / 1.147 GB, free: 6.184 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007828/0.9758, allocations: 3.923 MB / 1.151 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02759/1.003, allocations: 21.4 MB / 1.172 GB, free: 0.6445 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/1.006, allocations: 2.258 MB / 1.174 GB, free: 14.69 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/1.008, allocations: 0.7275 MB / 1.175 GB, free: 14.28 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/1.008, allocations: 14.27 kB / 1.175 GB, free: 14.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/1.008, allocations: 53.64 kB / 1.175 GB, free: 14.22 MB / 0.92 GB Notification: Performance of pre-optimization done (n=62): time 4.668e-06/1.008, allocations: 0 / 1.175 GB, free: 14.22 MB / 0.92 GB Notification: Performance of matching and sorting (n=68): time 0.006734/1.014, allocations: 4.197 MB / 1.179 GB, free: 11.34 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.015, allocations: 242.2 kB / 1.179 GB, free: 11.06 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/1.017, allocations: 1.165 MB / 1.18 GB, free: 10.39 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.294e-05/1.017, allocations: 39.95 kB / 1.18 GB, free: 10.35 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008312/1.018, allocations: 1.191 MB / 1.181 GB, free: 9.293 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/1.018, allocations: 252.6 kB / 1.182 GB, free: 9.078 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005995/1.018, allocations: 336.6 kB / 1.182 GB, free: 8.887 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.019, allocations: 347.6 kB / 1.182 GB, free: 8.551 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/1.02, allocations: 0.7511 MB / 1.183 GB, free: 8.16 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001903/1.022, allocations: 1.438 MB / 1.184 GB, free: 6.82 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/1.025, allocations: 2.2 MB / 1.186 GB, free: 5.051 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/1.025, allocations: 12.44 kB / 1.186 GB, free: 5.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004361/1.03, allocations: 2.265 MB / 1.189 GB, free: 3.883 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/1.03, allocations: 15.66 kB / 1.189 GB, free: 3.883 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.882e-05/1.03, allocations: 27.12 kB / 1.189 GB, free: 3.879 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.814e-05/1.03, allocations: 33.03 kB / 1.189 GB, free: 3.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/1.032, allocations: 452.3 kB / 1.189 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.655e-05/1.032, allocations: 45.23 kB / 1.189 GB, free: 3.734 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/1.034, allocations: 238.7 kB / 1.189 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/1.034, allocations: 87.92 kB / 1.19 GB, free: 3.457 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003162/1.037, allocations: 1.585 MB / 1.191 GB, free: 1.867 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001574/1.039, allocations: 1.368 MB / 1.192 GB, free: 156 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002437/1.041, allocations: 2.015 MB / 1.194 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.638e-05/1.041, allocations: 12 kB / 1.194 GB, free: 13.77 MB / 0.9356 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003425/1.044, allocations: 2.058 MB / 1.196 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/1.044, allocations: 16.94 kB / 1.196 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/1.045, allocations: 28 kB / 1.196 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.356e-05/1.045, allocations: 39.88 kB / 1.196 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/1.046, allocations: 411.3 kB / 1.197 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.872e-05/1.046, allocations: 51.78 kB / 1.197 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/1.048, allocations: 191.5 kB / 1.197 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001253/1.048, allocations: 83.98 kB / 1.197 GB, free: 10.9 MB / 0.9356 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.0004611/1.048, allocations: 285.3 kB / 1.197 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003164/1.049, allocations: 111 kB / 1.198 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/1.05, allocations: 1.1 MB / 1.199 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/1.05, allocations: 11.91 kB / 1.199 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.05, allocations: 4 kB / 1.199 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006234/1.051, allocations: 307.6 kB / 1.199 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/1.051, allocations: 16 kB / 1.199 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/1.052, allocations: 187.7 kB / 1.199 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/1.053, allocations: 43.83 kB / 1.199 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002014/1.055, allocations: 1.742 MB / 1.201 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00196/1.057, allocations: 1.806 MB / 1.203 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006029/1.057, allocations: 0.4959 MB / 1.203 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001378/1.059, allocations: 0.8127 MB / 1.204 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of Backend: time 4.11e-07/1.059, allocations: 0 / 1.204 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.005535/1.064, allocations: 2.429 MB / 1.206 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of SimCode: time 0.00686/1.071, allocations: 4.061 MB / 1.21 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of Templates: time 0.04385/1.115, allocations: 26.85 MB / 1.236 GB, free: 2.648 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches