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.001469/0.001469, allocations: 106.6 kB / 16.41 MB, free: 6.457 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.001665/0.001665, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15.17 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.244/2.244, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 59.91 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 140.4 MB / 1.089 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource): time 0.02292/1.043, allocations: 16.72 MB / 1.105 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01389/1.057, allocations: 6.432 MB / 1.111 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/1.059, allocations: 53.94 kB / 1.111 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004452/1.064, allocations: 1.282 MB / 1.113 GB, free: 5.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00353/1.067, allocations: 0.8783 MB / 1.113 GB, free: 4.723 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005563/1.073, allocations: 1.547 MB / 1.115 GB, free: 3.867 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006627/1.079, allocations: 3.846 MB / 1.119 GB, free: 2.203 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009785/1.089, allocations: 4.956 MB / 1.123 GB, free: 264 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004555/1.094, allocations: 1.663 MB / 1.125 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005338/1.099, allocations: 1.988 MB / 1.127 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002136/1.101, allocations: 380.3 kB / 1.127 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00415/1.106, allocations: 0.8528 MB / 1.128 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004004/1.11, allocations: 1.495 MB / 1.13 GB, free: 13.85 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005698/1.115, allocations: 1.533 MB / 1.131 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01233/1.128, allocations: 5.559 MB / 1.137 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/1.128, allocations: 1.125 kB / 1.137 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.204e-06/1.128, allocations: 0 / 1.137 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002701/1.128, 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.01371/1.142, allocations: 2.735 MB / 1.139 GB, free: 9.566 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/1.142, allocations: 9.562 kB / 1.139 GB, free: 9.566 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007118/1.149, allocations: 0.9069 MB / 1.14 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004934/1.154, allocations: 1.438 MB / 1.142 GB, free: 8.609 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003438/1.154, allocations: 189.3 kB / 1.142 GB, free: 8.523 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001878/1.156, allocations: 259.6 kB / 1.142 GB, free: 8.434 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/1.171, allocations: 4.655 MB / 1.147 GB, free: 6.293 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-05/1.171, allocations: 8.312 kB / 1.147 GB, free: 6.289 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003908/1.172, allocations: 110.9 kB / 1.147 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002669/1.172, allocations: 174.8 kB / 1.147 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008038/1.18, allocations: 3.93 MB / 1.151 GB, free: 4.148 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02712/1.207, allocations: 21.39 MB / 1.172 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002675/1.21, allocations: 2.252 MB / 1.174 GB, free: 14.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001044/1.211, allocations: 0.7363 MB / 1.175 GB, free: 14.26 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/1.211, allocations: 10.38 kB / 1.175 GB, free: 14.26 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/1.211, allocations: 52.45 kB / 1.175 GB, free: 14.2 MB / 0.92 GB Notification: Performance of pre-optimization done (n=62): time 2.485e-06/1.211, allocations: 0 / 1.175 GB, free: 14.2 MB / 0.92 GB Notification: Performance of matching and sorting (n=68): time 0.006412/1.218, allocations: 4.2 MB / 1.179 GB, free: 11.32 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/1.218, allocations: 248 kB / 1.179 GB, free: 11.04 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/1.22, allocations: 1.164 MB / 1.18 GB, free: 10.37 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.648e-05/1.22, allocations: 35.98 kB / 1.18 GB, free: 10.33 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007899/1.221, allocations: 1.195 MB / 1.181 GB, free: 9.27 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002401/1.221, allocations: 248.9 kB / 1.181 GB, free: 9.059 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000545/1.221, allocations: 341.1 kB / 1.182 GB, free: 8.863 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.222, allocations: 343.3 kB / 1.182 GB, free: 8.531 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/1.223, allocations: 0.7514 MB / 1.183 GB, free: 8.141 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/1.225, allocations: 1.438 MB / 1.184 GB, free: 6.801 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002886/1.227, allocations: 2.2 MB / 1.186 GB, free: 5.031 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/1.228, allocations: 10.88 kB / 1.186 GB, free: 5.027 MB / 0.92 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.003946/1.231, allocations: 2.265 MB / 1.189 GB, free: 3.863 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/1.232, allocations: 19.88 kB / 1.189 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.681e-05/1.232, allocations: 23.03 kB / 1.189 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.844e-05/1.232, allocations: 33.59 kB / 1.189 GB, free: 3.859 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001641/1.233, allocations: 451.8 kB / 1.189 GB, free: 3.727 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.051e-05/1.233, allocations: 48.55 kB / 1.189 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/1.235, allocations: 241.1 kB / 1.189 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/1.235, allocations: 83.98 kB / 1.19 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002871/1.238, allocations: 1.59 MB / 1.191 GB, free: 1.867 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001535/1.24, allocations: 1.368 MB / 1.192 GB, free: 156 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002416/1.242, allocations: 2.011 MB / 1.194 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.438e-06/1.242, allocations: 12 kB / 1.194 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.003468/1.246, allocations: 2.062 MB / 1.196 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/1.246, allocations: 16 kB / 1.196 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/1.246, allocations: 24.88 kB / 1.196 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.271e-05/1.246, allocations: 43.88 kB / 1.196 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/1.247, allocations: 407.3 kB / 1.197 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-05/1.247, allocations: 55.78 kB / 1.197 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/1.249, allocations: 187.5 kB / 1.197 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.249, allocations: 83.98 kB / 1.197 GB, free: 10.91 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.0004182/1.249, allocations: 287.6 kB / 1.197 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/1.25, allocations: 110.6 kB / 1.198 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/1.251, allocations: 1.1 MB / 1.199 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.251, allocations: 12 kB / 1.199 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/1.251, allocations: 0 / 1.199 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/1.251, allocations: 7.984 kB / 1.199 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/1.264, allocations: 10.2 MB / 1.209 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/1.264, allocations: 12 kB / 1.209 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006727/1.265, allocations: 196.4 kB / 1.209 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.986e-05/1.265, allocations: 20 kB / 1.209 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/1.265, allocations: 36 kB / 1.209 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.186e-05/1.265, allocations: 31.86 kB / 1.209 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.006e-05/1.265, allocations: 27.92 kB / 1.209 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002243/1.267, allocations: 2.169 MB / 1.211 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006201/1.268, allocations: 331.5 kB / 1.211 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/1.268, allocations: 35.98 kB / 1.211 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.269, allocations: 99.86 kB / 1.211 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/1.27, allocations: 107.5 kB / 1.212 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.401e-05/1.27, allocations: 40 kB / 1.212 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001273/1.271, allocations: 0.8166 MB / 1.212 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.5e-07/1.271, allocations: 0 / 1.212 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003307/1.274, allocations: 0.7422 MB / 1.213 GB, free: 10.02 MB / 0.9512 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.0002242/1.275, allocations: 142.9 kB / 1.213 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004158/1.279, allocations: 2.599 MB / 1.216 GB, free: 7.277 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/1.279, allocations: 4.312 kB / 1.216 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0007417/1.279, allocations: 0.5731 MB / 1.216 GB, free: 6.703 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/1.282, allocations: 268 kB / 1.217 GB, free: 6.457 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007684/1.289, allocations: 4.814 MB / 1.221 GB, free: 1.387 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/1.291, allocations: 2.07 MB / 1.223 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005679/1.292, allocations: 103.4 kB / 1.223 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of SimCode: time 9.02e-07/1.292, allocations: 0 / 1.223 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of Templates: time 0.03846/1.33, allocations: 25.96 MB / 1.249 GB, free: 5.285 MB / 0.9825 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