Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 112.9 kB / 16.42 MB, free: 6.445 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.001504/0.001504, allocations: 189.5 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.436/1.436, 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.279/2.279, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 63.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8814/0.8829, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.006066/0.889, allocations: 5.474 MB / 1.094 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005755/0.8948, allocations: 4.089 MB / 1.098 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/0.8951, allocations: 19.31 kB / 1.098 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001563/0.8967, allocations: 0.5899 MB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.8981, allocations: 0.6826 MB / 1.099 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.8995, allocations: 0.5422 MB / 1.1 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00119/0.9007, allocations: 1.15 MB / 1.101 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006291/0.9013, allocations: 434.4 kB / 1.101 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005649/0.9019, allocations: 471.5 kB / 1.102 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007684/0.9027, allocations: 0.5343 MB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.9028, allocations: 64.56 kB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001481/0.9043, allocations: 0.8443 MB / 1.103 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004715/0.9048, allocations: 326.7 kB / 1.103 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005464/0.9053, allocations: 428.7 kB / 1.104 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.9071, allocations: 1.408 MB / 1.105 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.9071, allocations: 1.219 kB / 1.105 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9071, allocations: 0 / 1.105 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.9071, allocations: 0 / 1.105 GB, free: 11.77 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002019/0.9091, allocations: 1.152 MB / 1.106 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.9092, allocations: 9.125 kB / 1.106 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.9193, allocations: 1.713 MB / 1.108 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.9206, allocations: 0.6593 MB / 1.109 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.9206, allocations: 41.55 kB / 1.109 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.9208, allocations: 62.7 kB / 1.109 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007616/0.9284, allocations: 1.916 MB / 1.111 GB, free: 9.836 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/0.9285, allocations: 6.531 kB / 1.111 GB, free: 9.832 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002104/0.9287, allocations: 31.44 kB / 1.111 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007058/0.9294, allocations: 150.2 kB / 1.111 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009873/0.9393, allocations: 2.613 MB / 1.113 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.9501, allocations: 6.657 MB / 1.12 GB, free: 4.797 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003888/0.954, allocations: 1.275 MB / 1.121 GB, free: 4.426 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002686/0.9567, allocations: 0.9039 MB / 1.122 GB, free: 4.203 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002317/0.959, allocations: 1.486 MB / 1.123 GB, free: 3.246 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.9591, allocations: 46.92 kB / 1.124 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=73): time 2.314e-06/0.9591, allocations: 0 / 1.124 GB, free: 3.195 MB / 0.8731 GB Notification: Performance of matching and sorting (n=107): time 0.03193/0.991, allocations: 8.241 MB / 1.132 GB, free: 1.25 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.9911, allocations: 87.7 kB / 1.132 GB, free: 1.156 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009486/0.992, allocations: 0.5813 MB / 1.132 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.9922, allocations: 45.83 kB / 1.132 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/0.9925, allocations: 405 kB / 1.133 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003935/0.9929, allocations: 383.4 kB / 1.133 GB, free: 200 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005142/0.9934, allocations: 264.6 kB / 1.133 GB, free: 48 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.9936, allocations: 391.4 kB / 1.134 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/0.9968, allocations: 1.126 MB / 1.135 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003663/1, allocations: 1.45 MB / 1.136 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007191/1.008, allocations: 2.608 MB / 1.139 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.591e-05/1.008, allocations: 6.594 kB / 1.139 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01178/1.02, allocations: 3.864 MB / 1.142 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/1.02, allocations: 9.312 kB / 1.142 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-05/1.02, allocations: 13.78 kB / 1.142 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005191/1.025, allocations: 1.332 MB / 1.144 GB, free: 9.891 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00215/1.027, allocations: 458 kB / 1.144 GB, free: 9.73 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/1.044, allocations: 12.13 MB / 1.156 GB, free: 296 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002606/1.047, allocations: 309.2 kB / 1.156 GB, free: 148 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003208/1.047, allocations: 67 kB / 1.156 GB, free: 128 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004055/1.051, allocations: 1.322 MB / 1.158 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003858/1.055, allocations: 1.446 MB / 1.159 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007205/1.062, allocations: 2.579 MB / 1.162 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.496e-05/1.062, allocations: 4.094 kB / 1.162 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01151/1.074, allocations: 3.639 MB / 1.165 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/1.074, allocations: 16.23 kB / 1.165 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/1.074, allocations: 10.47 kB / 1.165 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004127/1.078, allocations: 1.052 MB / 1.166 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/1.08, allocations: 472.6 kB / 1.167 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0157/1.096, allocations: 11.11 MB / 1.178 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002766/1.099, allocations: 304.1 kB / 1.178 GB, free: 428 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004299/1.099, allocations: 67.97 kB / 1.178 GB, free: 360 kB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,8,100.0%), (2,8,100.0%), (3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0007438/1.1, allocations: 257.1 kB / 1.178 GB, free: 96 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004243/1.101, allocations: 87 kB / 1.178 GB, free: 8 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/1.113, allocations: 3.723 MB / 1.182 GB, free: 12.25 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.263e-05/1.113, allocations: 15.95 kB / 1.182 GB, free: 12.24 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.113, allocations: 7.938 kB / 1.182 GB, free: 12.23 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009839/1.114, allocations: 332 kB / 1.182 GB, free: 11.89 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003579/1.114, allocations: 23.94 kB / 1.182 GB, free: 11.86 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002269/1.116, allocations: 299.5 kB / 1.183 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003222/1.117, allocations: 108.8 kB / 1.183 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01179/1.128, allocations: 3.707 MB / 1.186 GB, free: 7.734 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009978/1.138, allocations: 3.818 MB / 1.19 GB, free: 3.891 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003135/1.142, allocations: 1.136 MB / 1.191 GB, free: 2.75 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008092/1.142, allocations: 418.8 kB / 1.191 GB, free: 2.34 MB / 0.92 GB Notification: Performance of Backend: time 4.81e-07/1.142, allocations: 3.938 kB / 1.192 GB, free: 2.336 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01546/1.158, allocations: 5.184 MB / 1.197 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of SimCode: time 0.004427/1.162, allocations: 2.363 MB / 1.199 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of Templates: time 0.06647/1.229, allocations: 40.88 MB / 1.239 GB, free: 1.871 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches