Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.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.Converter,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.Converter") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter,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.Converter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 115.6 kB / 16.42 MB, free: 6.477 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.001228/0.001228, allocations: 183.9 kB / 17.35 MB, free: 5.746 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.378/1.378, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 63.89 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9704/0.9722, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter): time 0.02228/0.9946, allocations: 16.41 MB / 1.105 GB, free: 10.77 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01206/1.007, allocations: 5.712 MB / 1.11 GB, free: 6.887 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/1.009, allocations: 50.91 kB / 1.11 GB, free: 6.875 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004959/1.014, allocations: 1.54 MB / 1.112 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003465/1.017, allocations: 0.8369 MB / 1.113 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004041/1.021, allocations: 1.055 MB / 1.114 GB, free: 4.902 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006833/1.028, allocations: 3.901 MB / 1.117 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01168/1.04, allocations: 5.634 MB / 1.123 GB, free: 0.9961 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005351/1.045, allocations: 1.755 MB / 1.125 GB, free: 192 kB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005897/1.051, allocations: 2.091 MB / 1.127 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002207/1.053, allocations: 417.3 kB / 1.127 GB, free: 15.29 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004766/1.058, allocations: 1.077 MB / 1.128 GB, free: 15.05 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.004474/1.063, allocations: 1.654 MB / 1.13 GB, free: 14.39 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.006084/1.069, allocations: 1.604 MB / 1.131 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0129/1.082, allocations: 6.05 MB / 1.137 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.307e-06/1.082, allocations: 1.469 kB / 1.137 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.605e-06/1.082, allocations: 0 / 1.137 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002499/1.082, allocations: 0 / 1.137 GB, free: 11.51 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: 735 * Number of variables: 735 Notification: Performance of Generate backend data structure: time 0.01456/1.097, allocations: 2.776 MB / 1.14 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/1.097, allocations: 9.281 kB / 1.14 GB, free: 9.918 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005396/1.102, allocations: 0.655 MB / 1.141 GB, free: 9.754 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005761/1.108, allocations: 1.446 MB / 1.142 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003305/1.108, allocations: 206.9 kB / 1.142 GB, free: 8.852 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001859/1.11, allocations: 274.5 kB / 1.142 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01812/1.128, allocations: 4.723 MB / 1.147 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001658/1.128, allocations: 1.312 kB / 1.147 GB, free: 6.684 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00146/1.13, allocations: 115.7 kB / 1.147 GB, free: 6.594 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002574/1.13, allocations: 150 kB / 1.147 GB, free: 6.562 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/1.141, allocations: 4.087 MB / 1.151 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03609/1.177, allocations: 20.12 MB / 1.171 GB, free: 2.418 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00391/1.181, allocations: 1.89 MB / 1.173 GB, free: 1.051 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/1.183, allocations: 0.7657 MB / 1.174 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002011/1.183, allocations: 112.1 kB / 1.174 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/1.183, allocations: 44.25 kB / 1.174 GB, free: 484 kB / 0.9044 GB Notification: Performance of pre-optimization done (n=77): time 3.527e-06/1.183, allocations: 0 / 1.174 GB, free: 484 kB / 0.9044 GB Notification: Performance of matching and sorting (n=92): time 0.02185/1.205, allocations: 5.188 MB / 1.179 GB, free: 13.56 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/1.205, allocations: 137.7 kB / 1.179 GB, free: 13.4 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/1.207, allocations: 0.9734 MB / 1.18 GB, free: 12.84 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/1.207, allocations: 45.77 kB / 1.18 GB, free: 12.8 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008248/1.208, allocations: 1.18 MB / 1.181 GB, free: 11.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004109/1.208, allocations: 328.8 kB / 1.181 GB, free: 11.47 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007098/1.209, allocations: 355 kB / 1.182 GB, free: 11.27 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.00015/1.209, allocations: 335.5 kB / 1.182 GB, free: 10.95 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001474/1.21, allocations: 0.8789 MB / 1.183 GB, free: 10.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002034/1.213, allocations: 1.517 MB / 1.184 GB, free: 9.16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003331/1.216, allocations: 2.451 MB / 1.187 GB, free: 6.613 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-05/1.216, allocations: 11.94 kB / 1.187 GB, free: 6.602 MB / 0.92 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.004259/1.22, allocations: 2.504 MB / 1.189 GB, free: 4.09 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/1.22, allocations: 19.98 kB / 1.189 GB, free: 4.07 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.795e-05/1.22, allocations: 20 kB / 1.189 GB, free: 4.051 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.629e-05/1.22, allocations: 40.02 kB / 1.189 GB, free: 4.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/1.223, allocations: 0.5109 MB / 1.19 GB, free: 3.5 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.383e-05/1.223, allocations: 43.86 kB / 1.19 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001407/1.224, allocations: 151.6 kB / 1.19 GB, free: 3.309 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/1.225, allocations: 91.97 kB / 1.19 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003288/1.228, allocations: 1.897 MB / 1.192 GB, free: 1.316 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001851/1.23, allocations: 1.514 MB / 1.193 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00314/1.233, allocations: 2.426 MB / 1.196 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.272e-05/1.233, allocations: 4 kB / 1.196 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=211) (initialization_lambda0): time 0.004321/1.237, allocations: 2.492 MB / 1.198 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/1.237, allocations: 20.06 kB / 1.198 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.504e-05/1.237, allocations: 20 kB / 1.198 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.665e-05/1.237, allocations: 32 kB / 1.198 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/1.24, allocations: 0.5108 MB / 1.199 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.546e-05/1.24, allocations: 39.86 kB / 1.199 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/1.241, allocations: 155.6 kB / 1.199 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/1.242, allocations: 83.98 kB / 1.199 GB, free: 9.43 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 96 * 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 (211): * Single equations (assignments): 211 * 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.0005193/1.242, allocations: 291.5 kB / 1.199 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003635/1.242, allocations: 94.95 kB / 1.199 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/1.246, allocations: 1.825 MB / 1.201 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/1.246, allocations: 11.97 kB / 1.201 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/1.246, allocations: 4 kB / 1.201 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007451/1.246, allocations: 279.9 kB / 1.201 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/1.247, allocations: 12 kB / 1.202 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008498/1.247, allocations: 71.89 kB / 1.202 GB, free: 6.777 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/1.248, allocations: 60.86 kB / 1.202 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002739/1.25, allocations: 1.597 MB / 1.203 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002108/1.253, allocations: 1.601 MB / 1.205 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007473/1.253, allocations: 0.5622 MB / 1.205 GB, free: 2.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001188/1.254, allocations: 0.7215 MB / 1.206 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of Backend: time 4.51e-07/1.254, allocations: 4 kB / 1.206 GB, free: 2.207 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006256/1.261, allocations: 2.898 MB / 1.209 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of SimCode: time 0.009429/1.27, allocations: 4.162 MB / 1.213 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of Templates: time 0.04771/1.318, allocations: 28.48 MB / 1.241 GB, free: 14.72 MB / 0.9825 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Converter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Converter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches