Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001089/0.001089, allocations: 92.62 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 180.9 kB / 16.92 MB, free: 6.652 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.74/2.74, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.0003458, allocations: 16.31 kB / 0.9034 GB, free: 36.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3274, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.006514/0.334, allocations: 5.086 MB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006835/0.3408, allocations: 4.08 MB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006668/0.3416, allocations: 15.88 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000464/0.342, allocations: 99.23 kB / 1.068 GB, free: 11.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.344, allocations: 0.6342 MB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001465/0.3455, allocations: 499 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002004/0.3475, allocations: 1.638 MB / 1.071 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001577/0.3491, allocations: 0.7004 MB / 1.072 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008872/0.35, allocations: 386.4 kB / 1.072 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001135/0.3512, allocations: 0.5332 MB / 1.073 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001991/0.3514, allocations: 36 kB / 1.073 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001951/0.3534, allocations: 1.002 MB / 1.074 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005026/0.3539, allocations: 307.1 kB / 1.074 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000726/0.3546, allocations: 411.6 kB / 1.074 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/0.3564, allocations: 1.056 MB / 1.075 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3564, allocations: 0 / 1.075 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3564, allocations: 0 / 1.075 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.829e-05/0.3565, allocations: 0 / 1.075 GB, free: 4.41 MB / 0.8262 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.002462/0.3589, allocations: 1.013 MB / 1.076 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.359, allocations: 11.97 kB / 1.076 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/0.369, allocations: 1.724 MB / 1.078 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.3705, allocations: 0.6157 MB / 1.079 GB, free: 0.9492 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/0.3705, allocations: 53.66 kB / 1.079 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003348/0.3709, allocations: 60.36 kB / 1.079 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0053/0.3762, allocations: 1.925 MB / 1.081 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.741e-05/0.3763, allocations: 3.938 kB / 1.081 GB, free: 14.85 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.3764, allocations: 27.98 kB / 1.081 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003692/0.3768, allocations: 153.4 kB / 1.081 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008093/0.3849, allocations: 2.628 MB / 1.083 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.3959, allocations: 6.68 MB / 1.09 GB, free: 4.988 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003476/0.3994, allocations: 1.273 MB / 1.091 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002611/0.402, allocations: 0.9193 MB / 1.092 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002318/0.4044, allocations: 1.487 MB / 1.094 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.4044, allocations: 46.56 kB / 1.094 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=73): time 3.387e-06/0.4044, allocations: 0 / 1.094 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of matching and sorting (n=107): time 0.03008/0.4345, allocations: 8.391 MB / 1.102 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.4346, allocations: 90.11 kB / 1.102 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008112/0.4355, allocations: 0.5885 MB / 1.102 GB, free: 8.012 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001955/0.4357, allocations: 41.7 kB / 1.102 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003012/0.436, allocations: 415.1 kB / 1.103 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004116/0.4364, allocations: 370.6 kB / 1.103 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002329/0.4366, allocations: 105.7 kB / 1.103 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001748/0.4368, allocations: 390.8 kB / 1.104 GB, free: 6.684 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003138/0.44, allocations: 1.123 MB / 1.105 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003642/0.4436, allocations: 1.472 MB / 1.106 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006974/0.4506, allocations: 2.624 MB / 1.109 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-05/0.4507, allocations: 8 kB / 1.109 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01159/0.4623, allocations: 3.916 MB / 1.113 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004477/0.4628, allocations: 405.6 kB / 1.113 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/0.4628, allocations: 12 kB / 1.113 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005605/0.4684, allocations: 1.384 MB / 1.114 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/0.4707, allocations: 471.2 kB / 1.115 GB, free: 10.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01634/0.487, allocations: 11.24 MB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/0.4899, allocations: 319.6 kB / 1.126 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003718/0.4903, allocations: 59.97 kB / 1.126 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.4903, allocations: 4 kB / 1.126 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01147/0.5018, allocations: 3.604 MB / 1.13 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.176e-05/0.5019, allocations: 8 kB / 1.13 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004176/0.5061, allocations: 1.096 MB / 1.131 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/0.5085, allocations: 487.1 kB / 1.131 GB, free: 9.457 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/0.5222, allocations: 10.35 MB / 1.141 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002474/0.5247, allocations: 311.7 kB / 1.142 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/0.525, allocations: 71.97 kB / 1.142 GB, free: 14.2 MB / 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.000897/0.5259, allocations: 380.7 kB / 1.142 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/0.5263, allocations: 90.91 kB / 1.142 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01161/0.5379, allocations: 3.782 MB / 1.146 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-05/0.538, allocations: 12 kB / 1.146 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.784e-05/0.538, allocations: 8 kB / 1.146 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/0.538, allocations: 3.984 kB / 1.146 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.5521, allocations: 5.489 MB / 1.151 GB, free: 4.258 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/0.5522, allocations: 4 kB / 1.151 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001755/0.5539, allocations: 371.4 kB / 1.152 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004873/0.5588, allocations: 1.248 MB / 1.153 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001901/0.559, allocations: 35.97 kB / 1.153 GB, free: 2.594 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01462/0.5737, allocations: 10.74 MB / 1.163 GB, free: 7.312 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.918e-06/0.5737, allocations: 7.938 kB / 1.163 GB, free: 7.305 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01112/0.5849, allocations: 3.692 MB / 1.167 GB, free: 3.512 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008396/0.5857, allocations: 339.9 kB / 1.167 GB, free: 3.16 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002946/0.5861, allocations: 27.98 kB / 1.167 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002247/0.5883, allocations: 319.5 kB / 1.168 GB, free: 2.82 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003935/0.5887, allocations: 104.1 kB / 1.168 GB, free: 2.719 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.5889, allocations: 47.97 kB / 1.168 GB, free: 2.672 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008185/0.5897, allocations: 414.8 kB / 1.168 GB, free: 2.266 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5897, allocations: 4 kB / 1.168 GB, free: 2.262 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002949/0.5927, allocations: 0.5977 MB / 1.169 GB, free: 1.664 MB / 0.92 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 (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 {(3,9,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003575/0.5931, allocations: 135 kB / 1.169 GB, free: 1.523 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01602/0.6091, allocations: 5.762 MB / 1.174 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.895e-05/0.6091, allocations: 4 kB / 1.174 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.005886/0.615, allocations: 2.11 MB / 1.177 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.6172, allocations: 165.6 kB / 1.177 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/0.63, allocations: 3.98 MB / 1.181 GB, free: 5.254 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.6314, allocations: 1.114 MB / 1.182 GB, free: 4.109 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006317/0.6321, allocations: 95.36 kB / 1.182 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of SimCode: time 1.232e-06/0.6321, allocations: 0 / 1.182 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of Templates: time 0.04674/0.6788, allocations: 29.56 MB / 1.211 GB, free: 6.457 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches