Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001848/0.001848, 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.002138/0.002138, 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.503/1.503, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.532/2.532, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 59.91 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.14, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.01118/1.152, allocations: 5.475 MB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.009765/1.162, allocations: 4.088 MB / 1.177 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008203/1.162, allocations: 19.88 kB / 1.177 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002365/1.165, allocations: 0.5807 MB / 1.177 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.002905/1.168, allocations: 0.6883 MB / 1.178 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/1.17, allocations: 0.5432 MB / 1.178 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001885/1.172, allocations: 1.154 MB / 1.18 GB, free: 7.207 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009281/1.173, allocations: 441.4 kB / 1.18 GB, free: 6.777 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009516/1.174, allocations: 470.3 kB / 1.18 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/1.175, allocations: 0.5293 MB / 1.181 GB, free: 5.785 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002183/1.175, allocations: 64 kB / 1.181 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/1.177, allocations: 0.8341 MB / 1.182 GB, free: 4.887 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0004591/1.178, allocations: 335.1 kB / 1.182 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007036/1.178, allocations: 425.8 kB / 1.183 GB, free: 4.141 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00256/1.181, allocations: 1.404 MB / 1.184 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.755e-06/1.181, allocations: 0 / 1.184 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.084e-06/1.181, allocations: 3.938 kB / 1.184 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.38e-05/1.181, allocations: 0 / 1.184 GB, free: 2.73 MB / 0.9044 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.003005/1.184, allocations: 1.161 MB / 1.185 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.184, allocations: 12.91 kB / 1.185 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/1.194, allocations: 1.708 MB / 1.187 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001609/1.196, allocations: 0.6508 MB / 1.187 GB, free: 15.1 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.723e-05/1.196, allocations: 45.67 kB / 1.187 GB, free: 15.05 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003161/1.196, allocations: 60.34 kB / 1.187 GB, free: 15 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005259/1.201, allocations: 1.921 MB / 1.189 GB, free: 13.02 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.118e-05/1.201, allocations: 7.938 kB / 1.189 GB, free: 13.01 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/1.202, allocations: 27.98 kB / 1.189 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003503/1.202, allocations: 149.4 kB / 1.19 GB, free: 12.84 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008301/1.21, allocations: 2.62 MB / 1.192 GB, free: 10.21 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01088/1.221, allocations: 6.649 MB / 1.199 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003491/1.225, allocations: 1.273 MB / 1.2 GB, free: 1.902 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002693/1.227, allocations: 0.907 MB / 1.201 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002457/1.23, allocations: 1.483 MB / 1.202 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/1.23, allocations: 46.5 kB / 1.202 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=73): time 3.096e-06/1.23, allocations: 0 / 1.202 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of matching and sorting (n=107): time 0.02995/1.26, allocations: 8.253 MB / 1.21 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/1.26, allocations: 90.11 kB / 1.21 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007857/1.261, allocations: 0.577 MB / 1.211 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001931/1.261, allocations: 49.7 kB / 1.211 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/1.261, allocations: 407.1 kB / 1.211 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003515/1.262, allocations: 378.6 kB / 1.212 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004635/1.262, allocations: 258.7 kB / 1.212 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002047/1.262, allocations: 394.7 kB / 1.212 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003093/1.265, allocations: 1.122 MB / 1.213 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003372/1.269, allocations: 1.456 MB / 1.215 GB, free: 2.16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006451/1.275, allocations: 2.6 MB / 1.217 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/1.275, allocations: 7.938 kB / 1.217 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01183/1.287, allocations: 3.873 MB / 1.221 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/1.287, allocations: 8.531 kB / 1.221 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/1.287, allocations: 12 kB / 1.221 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00538/1.293, allocations: 1.33 MB / 1.222 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002349/1.295, allocations: 463.2 kB / 1.223 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0193/1.314, allocations: 12.12 MB / 1.235 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002512/1.317, allocations: 315.6 kB / 1.235 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004001/1.317, allocations: 67.95 kB / 1.235 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003763/1.321, allocations: 1.318 MB / 1.236 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003675/1.325, allocations: 1.445 MB / 1.238 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006897/1.332, allocations: 2.581 MB / 1.24 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.632e-05/1.332, allocations: 4 kB / 1.24 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01135/1.343, allocations: 3.64 MB / 1.244 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/1.343, allocations: 12.06 kB / 1.244 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.544e-05/1.343, allocations: 12 kB / 1.244 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004124/1.347, allocations: 1.053 MB / 1.245 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/1.35, allocations: 479.2 kB / 1.245 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01603/1.366, allocations: 11.1 MB / 1.256 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/1.368, allocations: 304.1 kB / 1.257 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002832/1.369, allocations: 63.97 kB / 1.257 GB, free: 5.766 MB / 0.9825 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.0005457/1.369, allocations: 259.9 kB / 1.257 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/1.37, allocations: 86.91 kB / 1.257 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01156/1.381, allocations: 3.743 MB / 1.261 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.651e-05/1.381, allocations: 3.984 kB / 1.261 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/1.381, allocations: 3.938 kB / 1.261 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009301/1.382, allocations: 332 kB / 1.261 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003025/1.382, allocations: 27.84 kB / 1.261 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002181/1.385, allocations: 303.5 kB / 1.261 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/1.385, allocations: 104.8 kB / 1.261 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01131/1.396, allocations: 3.707 MB / 1.265 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009705/1.406, allocations: 3.814 MB / 1.269 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003047/1.409, allocations: 1.139 MB / 1.27 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000636/1.41, allocations: 414.8 kB / 1.27 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of Backend: time 4.71e-07/1.41, allocations: 0 / 1.27 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01522/1.425, allocations: 5.199 MB / 1.275 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of SimCode: time 0.003438/1.429, allocations: 2.357 MB / 1.278 GB, free: 56 kB / 0.9981 GB Notification: Performance of Templates: time 0.06252/1.491, allocations: 40.89 MB / 1.317 GB, free: 7.262 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches