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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001248/0.001249, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001435/0.001436, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.794/2.794, allocations: 437.7 MB / 0.7117 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 8 kB / 0.8722 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8205/0.8209, allocations: 153.8 MB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.006155/0.8271, allocations: 4.838 MB / 1.027 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006094/0.8332, allocations: 3.826 MB / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006475/0.8339, allocations: 15.88 kB / 1.031 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004126/0.8343, allocations: 99.23 kB / 1.031 GB, free: 7.262 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.8361, allocations: 0.5132 MB / 1.031 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.8375, allocations: 421.5 kB / 1.032 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001472/0.8389, allocations: 1.322 MB / 1.033 GB, free: 5.004 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.8402, allocations: 0.6693 MB / 1.034 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005616/0.8407, allocations: 394.5 kB / 1.034 GB, free: 3.918 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007856/0.8415, allocations: 0.5099 MB / 1.035 GB, free: 3.406 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.325e-05/0.8416, allocations: 36 kB / 1.035 GB, free: 3.371 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.8428, allocations: 495.2 kB / 1.035 GB, free: 2.887 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003265/0.8431, allocations: 299.2 kB / 1.035 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000171/0.8433, allocations: 161.3 kB / 1.036 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.8444, allocations: 1.023 MB / 1.037 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.8444, allocations: 0 / 1.037 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.833e-06/0.8444, allocations: 0 / 1.037 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.213e-05/0.8444, allocations: 0 / 1.037 GB, free: 1.406 MB / 0.7794 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.001811/0.8462, allocations: 1.028 MB / 1.038 GB, free: 336 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.8463, allocations: 12.56 kB / 1.038 GB, free: 324 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008598/0.8549, allocations: 1.695 MB / 1.039 GB, free: 14.62 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.8562, allocations: 0.5953 MB / 1.04 GB, free: 13.98 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.8562, allocations: 53.25 kB / 1.04 GB, free: 13.93 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.8564, allocations: 59.88 kB / 1.04 GB, free: 13.87 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004597/0.861, allocations: 1.909 MB / 1.042 GB, free: 11.9 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.8611, allocations: 3.938 kB / 1.042 GB, free: 11.89 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.8612, allocations: 27.98 kB / 1.042 GB, free: 11.87 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003079/0.8615, allocations: 157.4 kB / 1.042 GB, free: 11.71 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00698/0.8685, allocations: 2.612 MB / 1.045 GB, free: 9.098 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00952/0.878, allocations: 6.653 MB / 1.051 GB, free: 2.078 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003047/0.8811, allocations: 1.258 MB / 1.052 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00228/0.8834, allocations: 0.8992 MB / 1.053 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00207/0.8855, allocations: 1.503 MB / 1.055 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.8856, allocations: 46.42 kB / 1.055 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=73): time 2.735e-06/0.8856, allocations: 0 / 1.055 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=107): time 0.02638/0.912, allocations: 8.23 MB / 1.063 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.9121, allocations: 94.09 kB / 1.063 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008273/0.9129, allocations: 0.5731 MB / 1.063 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.9131, allocations: 45.64 kB / 1.063 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.9134, allocations: 415 kB / 1.064 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.9138, allocations: 370.7 kB / 1.064 GB, free: 4.457 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.599e-05/0.9139, allocations: 28 kB / 1.064 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002454/0.9141, allocations: 390.8 kB / 1.065 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002722/0.9169, allocations: 1.103 MB / 1.066 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00297/0.9199, allocations: 1.452 MB / 1.067 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00302/0.9229, allocations: 1.23 MB / 1.068 GB, free: 112 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.9229, allocations: 3.953 kB / 1.068 GB, free: 108 kB / 0.8106 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01059/0.9335, allocations: 3.878 MB / 1.072 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003879/0.934, allocations: 408.6 kB / 1.072 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.614e-05/0.934, allocations: 12 kB / 1.072 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005287/0.9393, allocations: 1.376 MB / 1.074 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/0.9414, allocations: 467.2 kB / 1.074 GB, free: 9.801 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/0.9585, allocations: 11.22 MB / 1.085 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.9611, allocations: 315.5 kB / 1.086 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/0.9613, allocations: 63.97 kB / 1.086 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.9613, allocations: 4 kB / 1.086 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009757/0.9711, allocations: 3.565 MB / 1.089 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.485e-05/0.9712, allocations: 15.98 kB / 1.089 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003758/0.9749, allocations: 1.097 MB / 1.09 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002082/0.977, allocations: 479.2 kB / 1.091 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.9912, allocations: 10.33 MB / 1.101 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/0.9934, allocations: 303.6 kB / 1.101 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.9936, allocations: 63.97 kB / 1.101 GB, free: 13.29 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006733/0.9943, allocations: 380.8 kB / 1.101 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/0.9945, allocations: 94.89 kB / 1.102 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/1.005, allocations: 3.762 MB / 1.105 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/1.005, allocations: 12.09 kB / 1.105 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.41e-05/1.005, allocations: 11.98 kB / 1.105 GB, free: 8.992 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/1.005, allocations: 7.969 kB / 1.105 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/1.018, allocations: 5.485 MB / 1.111 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/1.018, allocations: 4 kB / 1.111 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/1.02, allocations: 367.4 kB / 1.111 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004467/1.024, allocations: 1.248 MB / 1.112 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001965/1.024, allocations: 31.97 kB / 1.112 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/1.039, allocations: 10.74 MB / 1.123 GB, free: 6.426 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.188e-06/1.039, allocations: 8 kB / 1.123 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009789/1.048, allocations: 3.669 MB / 1.126 GB, free: 2.645 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009135/1.049, allocations: 339.8 kB / 1.127 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/1.05, allocations: 31.98 kB / 1.127 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/1.051, allocations: 311.5 kB / 1.127 GB, free: 1.957 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003263/1.052, allocations: 108.1 kB / 1.127 GB, free: 1.852 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.822e-05/1.052, allocations: 39.98 kB / 1.127 GB, free: 1.812 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005561/1.052, allocations: 406.8 kB / 1.127 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.052, allocations: 7.938 kB / 1.127 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002317/1.055, allocations: 0.5938 MB / 1.128 GB, free: 0.8125 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * 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 (68): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002834/1.055, allocations: 139.1 kB / 1.128 GB, free: 0.6641 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01425/1.069, allocations: 5.704 MB / 1.134 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/1.069, allocations: 0 / 1.134 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.005121/1.074, allocations: 2.131 MB / 1.136 GB, free: 8.68 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001328/1.076, allocations: 157.6 kB / 1.136 GB, free: 8.531 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009935/1.086, allocations: 3.821 MB / 1.14 GB, free: 4.613 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008933/1.087, allocations: 1.114 MB / 1.141 GB, free: 3.469 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.002098/1.089, allocations: 0.5383 MB / 1.141 GB, free: 2.926 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/1.089, allocations: 79.38 kB / 1.141 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of SimCode: time 8.61e-07/1.089, allocations: 0 / 1.141 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of Templates: time 0.04156/1.131, allocations: 25.92 MB / 1.167 GB, free: 9.086 MB / 0.92 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/jenkins/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