Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.Conversion.Examples.TransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|probe_Y_1.V.1.|probe_Y_1.V.2.|probe_Y_1.V.3.|probe_D_1.V.1.|probe_D_1.V.2.|probe_D_1.V.3.|probe_2.V.1.|probe_2.V.2.|probe_2.V.3.|probe_Y_1.theta.1.|probe_Y_1.theta.2.|probe_Y_1.theta.3.|probe_D_1.theta.1.|probe_D_1.theta.2.|probe_D_1.theta.3.|probe_2.theta.1.|probe_2.theta.2.|probe_2.theta.3.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.00175/0.00175, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.373/1.373, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.315/2.315, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.89 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8719/0.8733, allocations: 140.4 MB / 1.089 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull): time 0.02074/0.8941, allocations: 17.47 MB / 1.106 GB, free: 9.957 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.905, allocations: 6.173 MB / 1.112 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.9066, allocations: 55.88 kB / 1.112 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004436/0.9111, allocations: 1.57 MB / 1.113 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003266/0.9144, allocations: 1.085 MB / 1.114 GB, free: 4.18 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003194/0.9176, allocations: 1.143 MB / 1.115 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006362/0.9239, allocations: 4.414 MB / 1.12 GB, free: 1.648 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0118/0.9358, allocations: 5.7 MB / 1.125 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005652/0.9415, allocations: 1.963 MB / 1.127 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005289/0.9468, allocations: 2.311 MB / 1.13 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001905/0.9487, allocations: 451.3 kB / 1.13 GB, free: 13.48 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003815/0.9525, allocations: 1.143 MB / 1.131 GB, free: 13.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003661/0.9562, allocations: 1.783 MB / 1.133 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.004757/0.961, allocations: 1.785 MB / 1.135 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.9713, allocations: 6.582 MB / 1.141 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.9713, allocations: 1.188 kB / 1.141 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.416e-06/0.9713, allocations: 0 / 1.141 GB, free: 9.332 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001934/0.9715, allocations: 3.938 kB / 1.141 GB, free: 9.328 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.009032/0.9806, allocations: 3.092 MB / 1.144 GB, free: 7.566 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.9806, allocations: 9.344 kB / 1.144 GB, free: 7.566 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.9933, allocations: 2.164 MB / 1.146 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005353/0.9987, allocations: 1.749 MB / 1.148 GB, free: 5.707 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002389/0.999, allocations: 219 kB / 1.148 GB, free: 5.605 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/1, allocations: 284.9 kB / 1.148 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01633/1.017, allocations: 5.914 MB / 1.154 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.313e-05/1.017, allocations: 0 / 1.154 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006468/1.017, allocations: 118 kB / 1.154 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005827/1.018, allocations: 261.7 kB / 1.154 GB, free: 1.977 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/1.035, allocations: 6.1 MB / 1.16 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03297/1.068, allocations: 22.32 MB / 1.182 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006972/1.075, allocations: 2.54 MB / 1.185 GB, free: 9.535 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005019/1.08, allocations: 1.713 MB / 1.186 GB, free: 7.816 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/1.081, allocations: 114.1 kB / 1.186 GB, free: 7.688 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.033e-05/1.081, allocations: 47.56 kB / 1.187 GB, free: 7.629 MB / 0.92 GB Notification: Performance of pre-optimization done (n=122): time 4.368e-06/1.081, allocations: 0 / 1.187 GB, free: 7.629 MB / 0.92 GB Notification: Performance of matching and sorting (n=173): time 0.05352/1.134, allocations: 14.64 MB / 1.201 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/1.134, allocations: 77.39 kB / 1.201 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/1.136, allocations: 1.147 MB / 1.202 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002842/1.137, allocations: 53.7 kB / 1.202 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008523/1.137, allocations: 1.274 MB / 1.203 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007505/1.138, allocations: 0.5892 MB / 1.204 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/1.139, allocations: 492.1 kB / 1.204 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001519/1.139, allocations: 345.9 kB / 1.205 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005343/1.145, allocations: 2.04 MB / 1.207 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005838/1.151, allocations: 2.745 MB / 1.209 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/1.162, allocations: 4.831 MB / 1.214 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2e-05/1.162, allocations: 8 kB / 1.214 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.016/1.178, allocations: 6.246 MB / 1.22 GB, free: 4.32 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/1.178, allocations: 24 kB / 1.22 GB, free: 4.297 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-05/1.178, allocations: 24 kB / 1.22 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005118/1.183, allocations: 1.527 MB / 1.222 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003554/1.186, allocations: 0.7526 MB / 1.222 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02406/1.211, allocations: 18.92 MB / 1.241 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004072/1.215, allocations: 486.9 kB / 1.241 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006347/1.215, allocations: 123.9 kB / 1.242 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008124/1.223, allocations: 3.135 MB / 1.245 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005979/1.229, allocations: 2.738 MB / 1.247 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01096/1.24, allocations: 4.808 MB / 1.252 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.491e-05/1.241, allocations: 4 kB / 1.252 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=301) (initialization_lambda0): time 0.01635/1.257, allocations: 6.191 MB / 1.258 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/1.257, allocations: 12 kB / 1.258 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.284e-05/1.257, allocations: 24 kB / 1.258 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004579/1.262, allocations: 1.445 MB / 1.259 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003684/1.265, allocations: 0.7565 MB / 1.26 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02468/1.29, allocations: 18.73 MB / 1.278 GB, free: 6.211 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003983/1.294, allocations: 479.1 kB / 1.279 GB, free: 5.742 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000576/1.295, allocations: 123.9 kB / 1.279 GB, free: 5.621 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (235): * Single equations (assignments): 229 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009931/1.296, allocations: 322.9 kB / 1.279 GB, free: 5.301 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004993/1.296, allocations: 142.2 kB / 1.279 GB, free: 5.16 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/1.312, allocations: 5.794 MB / 1.285 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-05/1.312, allocations: 7.969 kB / 1.285 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/1.312, allocations: 3.938 kB / 1.285 GB, free: 15.3 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/1.314, allocations: 0.5343 MB / 1.286 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007717/1.314, allocations: 24 kB / 1.286 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003113/1.317, allocations: 419.3 kB / 1.286 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004829/1.318, allocations: 157.7 kB / 1.286 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01694/1.335, allocations: 5.678 MB / 1.292 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0157/1.351, allocations: 6.215 MB / 1.298 GB, free: 2.219 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004851/1.356, allocations: 1.92 MB / 1.3 GB, free: 300 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001758/1.357, allocations: 0.8285 MB / 1.301 GB, free: 15.45 MB / 1.045 GB Notification: Performance of Backend: time 6.41e-07/1.357, allocations: 0 / 1.301 GB, free: 15.45 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.02331/1.381, allocations: 8.285 MB / 1.309 GB, free: 7.016 MB / 1.045 GB Notification: Performance of SimCode: time 0.01307/1.394, allocations: 5.671 MB / 1.314 GB, free: 1.301 MB / 1.045 GB Notification: Performance of Templates: time 0.1002/1.494, allocations: 65.99 MB / 1.379 GB, free: 15.49 MB / 1.123 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches