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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001601/0.001601, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.001962/0.001963, allocations: 191.4 kB / 17.34 MB, free: 5.695 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.419/1.419, 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 11.0.1-master/package.mo): time 2.681/2.681, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 59.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8309, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.006887/0.8379, allocations: 5.363 MB / 1.214 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006047/0.844, allocations: 4.083 MB / 1.218 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004992/0.8445, allocations: 19.88 kB / 1.218 GB, free: 4.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001599/0.8461, allocations: 0.5787 MB / 1.218 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001584/0.8477, allocations: 0.6844 MB / 1.219 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.8491, allocations: 0.5222 MB / 1.219 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.8503, allocations: 1.154 MB / 1.221 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006072/0.8509, allocations: 433.4 kB / 1.221 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005233/0.8514, allocations: 466.4 kB / 1.221 GB, free: 312 kB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007473/0.8522, allocations: 0.5371 MB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.8523, allocations: 64 kB / 1.222 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.8537, allocations: 0.8382 MB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.854, allocations: 343.1 kB / 1.223 GB, free: 14.53 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000378/0.8544, allocations: 417.9 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.8561, allocations: 1.404 MB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8561, allocations: 3.984 kB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8561, allocations: 0 / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.8561, allocations: 0 / 1.225 GB, free: 12.71 MB / 0.9512 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.001929/0.858, allocations: 1.161 MB / 1.226 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.8581, allocations: 8.031 kB / 1.226 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009894/0.868, allocations: 1.708 MB / 1.228 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.8693, allocations: 0.6508 MB / 1.228 GB, free: 9.086 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.036e-05/0.8694, allocations: 41.67 kB / 1.228 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/0.8695, allocations: 60.36 kB / 1.228 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004774/0.8743, allocations: 1.917 MB / 1.23 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.896e-05/0.8744, allocations: 11.94 kB / 1.23 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.8745, allocations: 31.91 kB / 1.23 GB, free: 6.961 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003323/0.8748, allocations: 149.4 kB / 1.23 GB, free: 6.812 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007645/0.8825, allocations: 2.62 MB / 1.233 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009445/0.892, allocations: 6.653 MB / 1.24 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003296/0.8953, allocations: 1.275 MB / 1.241 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002476/0.8978, allocations: 0.9029 MB / 1.242 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002008/0.8998, allocations: 1.495 MB / 1.243 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.8999, allocations: 38.56 kB / 1.243 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=73): time 2.334e-06/0.8999, allocations: 0 / 1.243 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=107): time 0.02879/0.9287, allocations: 8.238 MB / 1.251 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.389e-05/0.9288, allocations: 94.09 kB / 1.251 GB, free: 0.957 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007277/0.9295, allocations: 0.5847 MB / 1.252 GB, free: 372 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/0.9297, allocations: 41.7 kB / 1.252 GB, free: 324 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.93, allocations: 407.1 kB / 1.252 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/0.9303, allocations: 378.6 kB / 1.253 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004401/0.9308, allocations: 258.6 kB / 1.253 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.931, allocations: 390.7 kB / 1.253 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00296/0.9339, allocations: 1.126 MB / 1.254 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003174/0.9371, allocations: 1.46 MB / 1.256 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006205/0.9433, allocations: 2.596 MB / 1.258 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.9434, allocations: 4 kB / 1.258 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01088/0.9542, allocations: 3.866 MB / 1.262 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.9543, allocations: 12.09 kB / 1.262 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/0.9543, allocations: 12 kB / 1.262 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004978/0.9593, allocations: 1.322 MB / 1.263 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/0.9615, allocations: 467.1 kB / 1.264 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01528/0.9768, allocations: 12.14 MB / 1.276 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/0.9792, allocations: 307.6 kB / 1.276 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/0.9794, allocations: 67.91 kB / 1.276 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003343/0.9827, allocations: 1.322 MB / 1.277 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00325/0.986, allocations: 1.448 MB / 1.279 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006311/0.9923, allocations: 2.581 MB / 1.281 GB, free: 1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.578e-06/0.9924, allocations: 0 / 1.281 GB, free: 1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=163) (initialization_lambda0): time 0.01048/1.003, allocations: 3.644 MB / 1.285 GB, free: 13.33 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/1.003, allocations: 8 kB / 1.285 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/1.003, allocations: 8 kB / 1.285 GB, free: 13.32 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003806/1.007, allocations: 1.053 MB / 1.286 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/1.009, allocations: 483.2 kB / 1.286 GB, free: 11.78 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01372/1.023, allocations: 11.1 MB / 1.297 GB, free: 112 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/1.025, allocations: 307.6 kB / 1.298 GB, free: 15.81 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/1.025, allocations: 67.97 kB / 1.298 GB, free: 15.74 MB / 1.029 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.000472/1.026, allocations: 251.9 kB / 1.298 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/1.026, allocations: 90.91 kB / 1.298 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/1.037, allocations: 3.727 MB / 1.302 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/1.037, allocations: 12 kB / 1.302 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.942e-05/1.037, allocations: 8 kB / 1.302 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/1.037, allocations: 3.984 kB / 1.302 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01284/1.05, allocations: 5.454 MB / 1.307 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.05, allocations: 8.688 kB / 1.307 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/1.051, allocations: 359.4 kB / 1.307 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004267/1.056, allocations: 1.193 MB / 1.308 GB, free: 4.457 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001735/1.056, allocations: 35.98 kB / 1.308 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/1.07, allocations: 11.64 MB / 1.32 GB, free: 8.219 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.164e-06/1.07, allocations: 8.094 kB / 1.32 GB, free: 8.211 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009838/1.08, allocations: 3.642 MB / 1.323 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006234/1.081, allocations: 328 kB / 1.324 GB, free: 4.129 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/1.081, allocations: 32 kB / 1.324 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/1.083, allocations: 315.4 kB / 1.324 GB, free: 3.789 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003508/1.083, allocations: 112.1 kB / 1.324 GB, free: 3.68 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-05/1.083, allocations: 35.98 kB / 1.324 GB, free: 3.645 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005381/1.084, allocations: 418.8 kB / 1.325 GB, free: 3.238 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.6e-07/1.084, allocations: 0 / 1.325 GB, free: 3.238 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002089/1.086, allocations: 0.6016 MB / 1.325 GB, free: 2.637 MB / 1.045 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.0002946/1.086, allocations: 143 kB / 1.325 GB, free: 2.488 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01459/1.101, allocations: 5.708 MB / 1.331 GB, free: 12.67 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.101, allocations: 64 / 1.331 GB, free: 12.67 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.005474/1.106, allocations: 2.133 MB / 1.333 GB, free: 10.49 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/1.108, allocations: 171.1 kB / 1.333 GB, free: 10.33 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/1.119, allocations: 3.569 MB / 1.337 GB, free: 6.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009771/1.12, allocations: 1.11 MB / 1.338 GB, free: 5.516 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/1.121, allocations: 103.3 kB / 1.338 GB, free: 5.414 MB / 1.061 GB Notification: Performance of SimCode: time 1.192e-06/1.121, allocations: 0 / 1.338 GB, free: 5.414 MB / 1.061 GB Notification: Performance of Templates: time 0.0361/1.157, allocations: 29.6 MB / 1.367 GB, free: 7.793 MB / 1.092 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/jenkins1/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