Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001037/0.001037, allocations: 92.7 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.001356/0.001356, allocations: 183.8 kB / 16.92 MB, free: 6.922 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.467/1.467, allocations: 223.3 MB / 241 MB, free: 5.336 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.722/2.722, allocations: 437.8 MB / 0.7128 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003393, allocations: 8.281 kB / 0.8735 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6285/0.6288, allocations: 153.8 MB / 1.024 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.005884/0.6348, allocations: 4.99 MB / 1.029 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006553/0.6413, allocations: 4.058 MB / 1.033 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000603/0.642, allocations: 15.88 kB / 1.033 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.6424, allocations: 99.23 kB / 1.033 GB, free: 6.812 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00188/0.6443, allocations: 0.6342 MB / 1.033 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001429/0.6458, allocations: 495 kB / 1.034 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002016/0.6478, allocations: 1.63 MB / 1.035 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/0.6493, allocations: 0.7117 MB / 1.036 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008378/0.6501, allocations: 394.4 kB / 1.036 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001029/0.6512, allocations: 0.5177 MB / 1.037 GB, free: 2.402 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001853/0.6514, allocations: 36 kB / 1.037 GB, free: 2.367 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001904/0.6533, allocations: 1.01 MB / 1.038 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004831/0.6538, allocations: 299.1 kB / 1.038 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000674/0.6545, allocations: 419.5 kB / 1.039 GB, free: 0.6445 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.6562, allocations: 1.046 MB / 1.04 GB, free: 15.59 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.6562, allocations: 4 kB / 1.04 GB, free: 15.59 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6562, allocations: 0 / 1.04 GB, free: 15.59 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.239e-05/0.6563, allocations: 0 / 1.04 GB, free: 15.59 MB / 0.795 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.002258/0.6585, allocations: 1.02 MB / 1.041 GB, free: 14.52 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.6586, allocations: 8.031 kB / 1.041 GB, free: 14.52 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.669, allocations: 1.72 MB / 1.042 GB, free: 12.79 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.6704, allocations: 0.6118 MB / 1.043 GB, free: 12.14 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.6705, allocations: 41.67 kB / 1.043 GB, free: 12.1 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002926/0.6708, allocations: 68.34 kB / 1.043 GB, free: 12.03 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005343/0.6761, allocations: 1.929 MB / 1.045 GB, free: 10.04 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/0.6762, allocations: 3.938 kB / 1.045 GB, free: 10.04 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.6763, allocations: 27.98 kB / 1.045 GB, free: 10.01 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003559/0.6767, allocations: 153.4 kB / 1.045 GB, free: 9.863 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008404/0.6851, allocations: 2.628 MB / 1.048 GB, free: 7.23 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.6958, allocations: 6.681 MB / 1.054 GB, free: 188 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003653/0.6995, allocations: 1.277 MB / 1.055 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002756/0.7023, allocations: 0.9109 MB / 1.056 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002417/0.7047, allocations: 1.487 MB / 1.058 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.7048, allocations: 42.86 kB / 1.058 GB, free: 12.37 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=73): time 2.264e-06/0.7048, allocations: 4 kB / 1.058 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=107): time 0.0315/0.7363, allocations: 8.396 MB / 1.066 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.7364, allocations: 94.11 kB / 1.066 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008156/0.7372, allocations: 0.5808 MB / 1.067 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001694/0.7374, allocations: 45.7 kB / 1.067 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.7377, allocations: 415 kB / 1.067 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003759/0.7381, allocations: 366.7 kB / 1.067 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.7383, allocations: 105.7 kB / 1.068 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.7385, allocations: 390.8 kB / 1.068 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003282/0.7418, allocations: 1.127 MB / 1.069 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003503/0.7453, allocations: 1.468 MB / 1.07 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006902/0.7522, allocations: 2.631 MB / 1.073 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.7523, allocations: 4 kB / 1.073 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01224/0.7645, allocations: 3.916 MB / 1.077 GB, free: 8.426 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003169/0.7649, allocations: 400.6 kB / 1.077 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.7649, allocations: 8 kB / 1.077 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00587/0.7708, allocations: 1.384 MB / 1.079 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/0.7731, allocations: 467.2 kB / 1.079 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/0.7897, allocations: 11.24 MB / 1.09 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/0.7923, allocations: 319.5 kB / 1.09 GB, free: 9.938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003064/0.7926, allocations: 71.95 kB / 1.09 GB, free: 9.867 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.7927, allocations: 6.031 kB / 1.09 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01123/0.8039, allocations: 3.596 MB / 1.094 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.329e-05/0.804, allocations: 12.11 kB / 1.094 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004323/0.8083, allocations: 1.096 MB / 1.095 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/0.8107, allocations: 483.1 kB / 1.095 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01442/0.8251, allocations: 10.36 MB / 1.106 GB, free: 9.758 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.8276, allocations: 307.6 kB / 1.106 GB, free: 9.457 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/0.8279, allocations: 71.95 kB / 1.106 GB, free: 9.387 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 (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.0007768/0.8287, allocations: 381.2 kB / 1.106 GB, free: 9.004 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/0.829, allocations: 83.56 kB / 1.106 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01192/0.8409, allocations: 3.786 MB / 1.11 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.841, allocations: 12 kB / 1.11 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.321e-05/0.841, allocations: 8 kB / 1.11 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.189e-05/0.841, allocations: 7.969 kB / 1.11 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.8553, allocations: 5.496 MB / 1.115 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.8553, allocations: 11.94 kB / 1.115 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/0.8571, allocations: 360.1 kB / 1.116 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005006/0.8622, allocations: 1.252 MB / 1.117 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002097/0.8624, allocations: 35.98 kB / 1.117 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01496/0.8774, allocations: 10.75 MB / 1.128 GB, free: 2.484 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.8774, allocations: 11.94 kB / 1.128 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01061/0.888, allocations: 3.681 MB / 1.131 GB, free: 14.69 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006786/0.8887, allocations: 336 kB / 1.132 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.8889, allocations: 24 kB / 1.132 GB, free: 14.32 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/0.8909, allocations: 319.5 kB / 1.132 GB, free: 14.01 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/0.8913, allocations: 108.1 kB / 1.132 GB, free: 13.9 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.8914, allocations: 43.98 kB / 1.132 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005608/0.8919, allocations: 414.8 kB / 1.132 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.9e-07/0.892, allocations: 0 / 1.132 GB, free: 13.45 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002129/0.8941, allocations: 0.5938 MB / 1.133 GB, free: 12.86 MB / 0.8887 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.0002867/0.8944, allocations: 150.9 kB / 1.133 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01553/0.9099, allocations: 5.745 MB / 1.139 GB, free: 6.852 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.91, allocations: 5.5 kB / 1.139 GB, free: 6.848 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.005731/0.9157, allocations: 2.129 MB / 1.141 GB, free: 4.668 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.9176, allocations: 158.5 kB / 1.141 GB, free: 4.52 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01167/0.9292, allocations: 3.97 MB / 1.145 GB, free: 464 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009473/0.9302, allocations: 1.114 MB / 1.146 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006026/0.9309, allocations: 103.3 kB / 1.146 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of SimCode: time 7.31e-07/0.9309, allocations: 0 / 1.146 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of Templates: time 0.03978/0.9707, allocations: 29.49 MB / 1.175 GB, free: 1.68 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformerFull.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches