Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Conversion.Examples.ACACTransformerFull") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 90.75 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.001604/0.001605, 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.514/1.514, allocations: 223.3 MB / 240 MB, free: 5.223 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.937/2.937, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003918, allocations: 11.81 kB / 0.9021 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3973, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.006734/0.4041, allocations: 4.742 MB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006677/0.4108, allocations: 3.817 MB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006838/0.4115, allocations: 15.88 kB / 1.066 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.412, allocations: 91.25 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.4139, allocations: 0.5094 MB / 1.067 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.4154, allocations: 418.2 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001831/0.4172, allocations: 1.33 MB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.4187, allocations: 0.6525 MB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008887/0.4196, allocations: 390.5 kB / 1.07 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.4208, allocations: 0.5177 MB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.4211, allocations: 36 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.4225, allocations: 495.3 kB / 1.071 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.423, allocations: 295.2 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003538/0.4233, allocations: 161.3 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001854/0.4252, allocations: 1.029 MB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.4252, allocations: 4 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4252, allocations: 3.938 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.781e-05/0.4253, allocations: 0 / 1.072 GB, free: 6.75 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.002602/0.4279, allocations: 1.017 MB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.428, allocations: 8.031 kB / 1.073 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008868/0.4368, allocations: 1.703 MB / 1.075 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001856/0.4387, allocations: 0.5953 MB / 1.075 GB, free: 3.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.843e-05/0.4389, allocations: 49.28 kB / 1.075 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004593/0.4393, allocations: 67.88 kB / 1.076 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005547/0.4449, allocations: 1.905 MB / 1.077 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.301e-05/0.445, allocations: 7.875 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001716/0.4452, allocations: 27.97 kB / 1.077 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003559/0.4455, allocations: 153.4 kB / 1.078 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007735/0.4533, allocations: 2.616 MB / 1.08 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01149/0.4648, allocations: 6.653 MB / 1.087 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003201/0.468, allocations: 1.262 MB / 1.088 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.4704, allocations: 0.9077 MB / 1.089 GB, free: 5.223 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002356/0.4728, allocations: 1.49 MB / 1.09 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.4729, allocations: 38.56 kB / 1.09 GB, free: 3.621 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=73): time 2.394e-06/0.4729, allocations: 4 kB / 1.09 GB, free: 3.617 MB / 0.8419 GB Notification: Performance of matching and sorting (n=107): time 0.0257/0.4986, allocations: 8.235 MB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.4987, allocations: 98.09 kB / 1.098 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008183/0.4995, allocations: 0.5692 MB / 1.099 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.4997, allocations: 41.7 kB / 1.099 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/0.5, allocations: 415 kB / 1.099 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.000416/0.5004, allocations: 366.7 kB / 1.1 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.5006, allocations: 28 kB / 1.1 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0003453/0.5009, allocations: 398.7 kB / 1.1 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002738/0.5037, allocations: 1.103 MB / 1.101 GB, free: 8.281 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/0.5066, allocations: 1.448 MB / 1.103 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002838/0.5095, allocations: 1.226 MB / 1.104 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-05/0.5095, allocations: 4 kB / 1.104 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0102/0.5197, allocations: 3.874 MB / 1.108 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003191/0.5201, allocations: 402.3 kB / 1.108 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.5201, allocations: 15.98 kB / 1.108 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004955/0.5251, allocations: 1.392 MB / 1.109 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001894/0.527, allocations: 463.2 kB / 1.11 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01561/0.5426, allocations: 11.21 MB / 1.121 GB, free: 3.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/0.5448, allocations: 311.6 kB / 1.121 GB, free: 3.105 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/0.5451, allocations: 63.97 kB / 1.121 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.5451, allocations: 5.719 kB / 1.121 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009364/0.5545, allocations: 3.569 MB / 1.125 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.5546, allocations: 8 kB / 1.125 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003695/0.5583, allocations: 1.1 MB / 1.126 GB, free: 14.33 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/0.5603, allocations: 479.2 kB / 1.126 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/0.5744, allocations: 10.34 MB / 1.136 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.5766, allocations: 311.6 kB / 1.136 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002809/0.5769, allocations: 64.03 kB / 1.137 GB, free: 2.613 MB / 0.8887 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.0008193/0.5778, allocations: 384.7 kB / 1.137 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002954/0.5781, allocations: 86.92 kB / 1.137 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01042/0.5885, allocations: 3.758 MB / 1.141 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/0.5886, allocations: 8 kB / 1.141 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.531e-05/0.5886, allocations: 8 kB / 1.141 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.401e-05/0.5886, allocations: 3.984 kB / 1.141 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.6023, allocations: 5.493 MB / 1.146 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.048e-05/0.6024, allocations: 8.125 kB / 1.146 GB, free: 8.691 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/0.604, allocations: 363.4 kB / 1.146 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004521/0.6085, allocations: 1.244 MB / 1.148 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/0.6088, allocations: 39.97 kB / 1.148 GB, free: 7.039 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01465/0.6234, allocations: 10.73 MB / 1.158 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.097e-05/0.6235, allocations: 11.95 kB / 1.158 GB, free: 11.76 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009951/0.6334, allocations: 3.673 MB / 1.162 GB, free: 7.992 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008726/0.6344, allocations: 336 kB / 1.162 GB, free: 7.645 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/0.6347, allocations: 35.94 kB / 1.162 GB, free: 7.609 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/0.6366, allocations: 311.5 kB / 1.162 GB, free: 7.305 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000376/0.637, allocations: 104.3 kB / 1.162 GB, free: 7.203 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.6371, allocations: 47.97 kB / 1.163 GB, free: 7.156 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005527/0.6377, allocations: 406.8 kB / 1.163 GB, free: 6.758 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.4e-07/0.6377, allocations: 0 / 1.163 GB, free: 6.758 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002412/0.6401, allocations: 0.5898 MB / 1.164 GB, free: 6.168 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 (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.0003477/0.6405, allocations: 147 kB / 1.164 GB, free: 6.016 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01403/0.6545, allocations: 5.716 MB / 1.169 GB, free: 212 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/0.6546, allocations: 0 / 1.169 GB, free: 212 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.005056/0.6596, allocations: 2.112 MB / 1.171 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.6611, allocations: 161.2 kB / 1.171 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/0.6712, allocations: 3.826 MB / 1.175 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009182/0.6722, allocations: 1.114 MB / 1.176 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002119/0.6743, allocations: 0.55 MB / 1.177 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003474/0.6747, allocations: 75.38 kB / 1.177 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of SimCode: time 1.072e-06/0.6747, allocations: 4 kB / 1.177 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of Templates: time 0.04329/0.718, allocations: 25.9 MB / 1.202 GB, free: 14.42 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches