Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.515/1.515, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 183.8 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.038/2.038, allocations: 205.4 MB / 0.5775 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008826/0.0008826, allocations: 105.3 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003414, allocations: 10.47 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.224/0.2244, allocations: 106.3 MB / 0.9001 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8104/1.035, allocations: 173.7 MB / 1.07 GB, free: 65.37 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003417/1.035, allocations: 95.97 kB / 1.07 GB, free: 65.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.117/1.152, allocations: 45.25 MB / 1.114 GB, free: 59.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/1.152, allocations: 0 / 1.114 GB, free: 59.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.121e-05/1.152, allocations: 15.62 kB / 1.114 GB, free: 59.72 MB / 0.698 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.003652/1.156, allocations: 1.055 MB / 1.115 GB, free: 58.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/1.156, allocations: 11.81 kB / 1.115 GB, free: 58.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009454/1.166, allocations: 1.627 MB / 1.117 GB, free: 58.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001934/1.168, allocations: 0.6183 MB / 1.117 GB, free: 57.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.648e-05/1.168, allocations: 52.08 kB / 1.117 GB, free: 57.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004207/1.168, allocations: 56.69 kB / 1.117 GB, free: 57.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005659/1.174, allocations: 1.917 MB / 1.119 GB, free: 57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.043e-05/1.174, allocations: 7.891 kB / 1.119 GB, free: 57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/1.174, allocations: 33.42 kB / 1.119 GB, free: 56.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003262/1.174, allocations: 146.4 kB / 1.119 GB, free: 56.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007354/1.182, allocations: 2.612 MB / 1.122 GB, free: 56.18 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/1.192, allocations: 6.676 MB / 1.128 GB, free: 51.74 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003032/1.195, allocations: 1.259 MB / 1.13 GB, free: 51.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002458/1.198, allocations: 1.485 MB / 1.131 GB, free: 50.45 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/1.198, allocations: 45.64 kB / 1.131 GB, free: 50.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=73): time 3.697e-06/1.198, allocations: 0 / 1.131 GB, free: 50.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=107): time 0.02619/1.224, allocations: 8.048 MB / 1.139 GB, free: 47.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/1.224, allocations: 85.92 kB / 1.139 GB, free: 47.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008266/1.225, allocations: 0.519 MB / 1.14 GB, free: 47.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002103/1.225, allocations: 43.67 kB / 1.14 GB, free: 47.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/1.225, allocations: 399.6 kB / 1.14 GB, free: 47 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005838/1.226, allocations: 377.5 kB / 1.14 GB, free: 46.72 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/1.226, allocations: 26.62 kB / 1.14 GB, free: 46.72 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002042/1.226, allocations: 392.4 kB / 1.141 GB, free: 46.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002797/1.229, allocations: 1.104 MB / 1.142 GB, free: 46.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/1.232, allocations: 1.439 MB / 1.143 GB, free: 45.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002924/1.235, allocations: 1.222 MB / 1.144 GB, free: 45.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/1.235, allocations: 3.875 kB / 1.144 GB, free: 45.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.009738/1.245, allocations: 3.761 MB / 1.148 GB, free: 44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000984/1.246, allocations: 3.921 MB / 1.152 GB, free: 39.87 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/1.246, allocations: 11.81 kB / 1.152 GB, free: 39.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004735/1.251, allocations: 1.265 MB / 1.153 GB, free: 39.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/1.253, allocations: 461.2 kB / 1.154 GB, free: 39.25 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/1.264, allocations: 9.271 MB / 1.163 GB, free: 33.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002471/1.266, allocations: 312.8 kB / 1.163 GB, free: 33.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003853/1.267, allocations: 65.92 kB / 1.163 GB, free: 33.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.267, allocations: 3.906 kB / 1.163 GB, free: 33.64 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009188/1.276, allocations: 3.477 MB / 1.166 GB, free: 32.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.796e-05/1.276, allocations: 7.812 kB / 1.166 GB, free: 32.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003584/1.28, allocations: 1.025 MB / 1.167 GB, free: 32.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/1.282, allocations: 476.2 kB / 1.168 GB, free: 32.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/1.293, allocations: 10.38 MB / 1.178 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/1.296, allocations: 313.4 kB / 1.178 GB, free: 25.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003579/1.296, allocations: 65.78 kB / 1.178 GB, free: 25.65 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (122): * Single equations (assignments): 118 * 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.0009656/1.297, allocations: 384.4 kB / 1.179 GB, free: 25.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/1.297, allocations: 85.75 kB / 1.179 GB, free: 25.37 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009555/1.307, allocations: 3.677 MB / 1.182 GB, free: 24.14 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/1.307, allocations: 11.38 kB / 1.183 GB, free: 24.14 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.341e-05/1.307, allocations: 3.719 kB / 1.183 GB, free: 24.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-05/1.307, allocations: 11.77 kB / 1.183 GB, free: 24.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/1.319, allocations: 5.408 MB / 1.188 GB, free: 21.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/1.319, allocations: 7.969 kB / 1.188 GB, free: 21.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.321, allocations: 360.7 kB / 1.188 GB, free: 21.85 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004168/1.325, allocations: 1.18 MB / 1.189 GB, free: 21.41 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001933/1.325, allocations: 38.59 kB / 1.189 GB, free: 21.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/1.337, allocations: 10.85 MB / 1.2 GB, free: 11.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/1.337, allocations: 8.031 kB / 1.2 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008849/1.346, allocations: 3.861 MB / 1.204 GB, free: 7.785 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009429/1.347, allocations: 343.8 kB / 1.204 GB, free: 7.43 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002857/1.347, allocations: 24 kB / 1.204 GB, free: 7.406 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001889/1.349, allocations: 319.4 kB / 1.204 GB, free: 7.094 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003505/1.349, allocations: 100.2 kB / 1.204 GB, free: 6.996 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/1.349, allocations: 43.97 kB / 1.205 GB, free: 6.953 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005374/1.35, allocations: 402.8 kB / 1.205 GB, free: 6.562 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/1.35, allocations: 4 kB / 1.205 GB, free: 6.559 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002719/1.353, allocations: 0.6093 MB / 1.205 GB, free: 5.949 MB / 0.698 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.0003459/1.353, allocations: 155 kB / 1.206 GB, free: 5.789 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01249/1.366, allocations: 5.421 MB / 1.211 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/1.366, allocations: 384 / 1.211 GB, free: 288 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004991/1.371, allocations: 2.067 MB / 1.213 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/1.372, allocations: 130.9 kB / 1.213 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.383, allocations: 3.792 MB / 1.217 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001098/1.384, allocations: 1.115 MB / 1.218 GB, free: 9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002314/1.386, allocations: 0.5382 MB / 1.218 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004214/1.387, allocations: 87.38 kB / 1.218 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of SimCode: time 1.413e-06/1.387, allocations: 0 / 1.218 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of Templates: time 0.04469/1.432, allocations: 24.59 MB / 1.242 GB, free: 15.89 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches