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.001139/0.001139, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009907/0.009908, allocations: 170 kB / 16.27 MB, free: 6.66 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.811/2.811, allocations: 437.8 MB / 0.7121 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000421/0.0004212, allocations: 12 kB / 0.8728 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7706/0.7711, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02175/0.7929, allocations: 16.04 MB / 1.039 GB, free: 15.77 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01371/0.8067, allocations: 6.388 MB / 1.045 GB, free: 9.359 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.8093, allocations: 43.81 kB / 1.045 GB, free: 9.316 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.8107, allocations: 317.7 kB / 1.045 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.003174/0.8139, allocations: 0.8213 MB / 1.046 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003578/0.8175, allocations: 1.064 MB / 1.047 GB, free: 7.117 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.006766/0.8243, allocations: 5.793 MB / 1.053 GB, free: 1.312 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01026/0.8346, allocations: 6.144 MB / 1.059 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.8373, allocations: 1.125 MB / 1.06 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003638/0.8409, allocations: 1.725 MB / 1.062 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0009167/0.8419, allocations: 160 kB / 1.062 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.8443, allocations: 0.7682 MB / 1.062 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002363/0.8467, allocations: 1.224 MB / 1.064 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.003272/0.85, allocations: 1.246 MB / 1.065 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.007395/0.8574, allocations: 5.298 MB / 1.07 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.8574, allocations: 0 / 1.07 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.026e-06/0.8574, allocations: 0 / 1.07 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002581/0.8577, allocations: 0 / 1.07 GB, free: 15.5 MB / 0.8262 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.007653/0.8654, allocations: 2.217 MB / 1.072 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.8654, allocations: 8.031 kB / 1.072 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005831/0.8713, allocations: 0.9265 MB / 1.073 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003493/0.8748, allocations: 1.415 MB / 1.075 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.875, allocations: 197.5 kB / 1.075 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005727/0.8756, allocations: 244.4 kB / 1.075 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008345/0.8839, allocations: 4.65 MB / 1.079 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-05/0.884, allocations: 7.938 kB / 1.079 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002969/0.8843, allocations: 108 kB / 1.08 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/0.8845, allocations: 180.2 kB / 1.08 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007046/0.8916, allocations: 3.928 MB / 1.084 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02396/0.9156, allocations: 21.57 MB / 1.105 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002556/0.9182, allocations: 2.245 MB / 1.107 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009767/0.9192, allocations: 0.72 MB / 1.108 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.9192, allocations: 12.86 kB / 1.108 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.9193, allocations: 50.5 kB / 1.108 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=62): time 3.246e-06/0.9193, allocations: 0 / 1.108 GB, free: 6.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=68): time 0.005549/0.9248, allocations: 4.185 MB / 1.112 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.925, allocations: 244.4 kB / 1.112 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.9267, allocations: 1.178 MB / 1.113 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.9267, allocations: 33.7 kB / 1.113 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000706/0.9274, allocations: 1.188 MB / 1.114 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/0.9277, allocations: 252.6 kB / 1.115 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.9278, allocations: 121.7 kB / 1.115 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.928, allocations: 345.9 kB / 1.115 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.9292, allocations: 0.7455 MB / 1.116 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.931, allocations: 1.45 MB / 1.117 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/0.9338, allocations: 2.189 MB / 1.119 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-05/0.9339, allocations: 8 kB / 1.119 GB, free: 9.738 MB / 0.8731 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003807/0.9377, allocations: 2.269 MB / 1.121 GB, free: 7.461 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007422/0.9384, allocations: 0.7866 MB / 1.122 GB, free: 6.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.46e-05/0.9385, allocations: 28 kB / 1.122 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-05/0.9385, allocations: 39.94 kB / 1.122 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.9402, allocations: 443.2 kB / 1.123 GB, free: 5.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.414e-05/0.9403, allocations: 51.84 kB / 1.123 GB, free: 5.789 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.9421, allocations: 235.2 kB / 1.123 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000126/0.9422, allocations: 87.97 kB / 1.123 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.9422, allocations: 6.188 kB / 1.123 GB, free: 5.469 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003193/0.9454, allocations: 1.933 MB / 1.125 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-05/0.9455, allocations: 24 kB / 1.125 GB, free: 3.512 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.22e-05/0.9455, allocations: 32.84 kB / 1.125 GB, free: 3.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.9469, allocations: 411.3 kB / 1.125 GB, free: 3.078 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.881e-05/0.9469, allocations: 55.73 kB / 1.125 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.9482, allocations: 151.5 kB / 1.126 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.9483, allocations: 87.97 kB / 1.126 GB, free: 2.789 MB / 0.8731 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.001981/0.9503, allocations: 1.129 MB / 1.127 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003345/0.9507, allocations: 107 kB / 1.127 GB, free: 1.543 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.9523, allocations: 1.098 MB / 1.128 GB, free: 452 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.9524, allocations: 15.92 kB / 1.128 GB, free: 436 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.9524, allocations: 4 kB / 1.128 GB, free: 432 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.9524, allocations: 3.984 kB / 1.128 GB, free: 428 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.9653, allocations: 10.2 MB / 1.138 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.9654, allocations: 16 kB / 1.138 GB, free: 5.934 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006394/0.966, allocations: 191.6 kB / 1.138 GB, free: 5.746 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.321e-05/0.9661, allocations: 23.94 kB / 1.138 GB, free: 5.723 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.9661, allocations: 32 kB / 1.138 GB, free: 5.691 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.89e-05/0.9662, allocations: 28.52 kB / 1.138 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.709e-05/0.9662, allocations: 27.88 kB / 1.138 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.9682, allocations: 2.169 MB / 1.14 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004982/0.9687, allocations: 351.4 kB / 1.141 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.9689, allocations: 39.98 kB / 1.141 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.97, allocations: 107.8 kB / 1.141 GB, free: 2.75 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.9702, allocations: 99.56 kB / 1.141 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-05/0.9702, allocations: 36 kB / 1.141 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001232/0.9715, allocations: 0.8127 MB / 1.142 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9715, allocations: 4 kB / 1.142 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002708/0.9742, allocations: 0.7383 MB / 1.143 GB, free: 1.051 MB / 0.8887 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.0002037/0.9744, allocations: 154.8 kB / 1.143 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003824/0.9782, allocations: 2.574 MB / 1.145 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.9782, allocations: 4 kB / 1.145 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007606/0.979, allocations: 0.5616 MB / 1.146 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003673/0.9827, allocations: 254.2 kB / 1.146 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006799/0.9895, allocations: 5.502 MB / 1.151 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.9913, allocations: 2.011 MB / 1.153 GB, free: 5.727 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.002257/0.9936, allocations: 0.8756 MB / 1.154 GB, free: 4.848 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003144/0.9939, allocations: 99.34 kB / 1.154 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of SimCode: time 7.41e-07/0.9939, allocations: 0 / 1.154 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of Templates: time 0.02596/1.02, allocations: 14.48 MB / 1.168 GB, free: 6.367 MB / 0.92 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/jenkins/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