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.0008993/0.0008993, allocations: 92.16 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.001004/0.001004, allocations: 183.4 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.306/1.306, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.553/2.553, allocations: 443.2 MB / 0.7181 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003425, allocations: 7.875 kB / 0.8801 GB, free: 42.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2884, allocations: 155.2 MB / 1.032 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformerFull): time 0.005596/0.2941, allocations: 4.99 MB / 1.037 GB, free: 15.75 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005911/0.3, allocations: 4.061 MB / 1.04 GB, free: 11.67 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005576/0.3006, allocations: 15.88 kB / 1.04 GB, free: 11.66 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.301, allocations: 91.23 kB / 1.041 GB, free: 11.57 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001562/0.3026, allocations: 0.6264 MB / 1.041 GB, free: 10.94 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3039, allocations: 0.4982 MB / 1.042 GB, free: 10.44 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.00177/0.3057, allocations: 1.634 MB / 1.043 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.307, allocations: 0.6926 MB / 1.044 GB, free: 8.07 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007019/0.3077, allocations: 398.3 kB / 1.044 GB, free: 7.68 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008465/0.3086, allocations: 0.5254 MB / 1.045 GB, free: 7.152 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.3087, allocations: 36 kB / 1.045 GB, free: 7.117 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001553/0.3103, allocations: 1.006 MB / 1.046 GB, free: 6.109 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003468/0.3106, allocations: 307.1 kB / 1.046 GB, free: 5.809 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004529/0.3111, allocations: 411.5 kB / 1.047 GB, free: 5.398 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.3124, allocations: 1.052 MB / 1.048 GB, free: 4.344 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3125, allocations: 4 kB / 1.048 GB, free: 4.34 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3125, allocations: 0 / 1.048 GB, free: 4.34 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.997e-05/0.3125, allocations: 4 kB / 1.048 GB, free: 4.336 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.002008/0.3145, allocations: 1.013 MB / 1.049 GB, free: 3.273 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3146, allocations: 8.031 kB / 1.049 GB, free: 3.266 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009854/0.3244, allocations: 1.692 MB / 1.05 GB, free: 1.57 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.3256, allocations: 0.6158 MB / 1.051 GB, free: 0.918 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.289e-05/0.3257, allocations: 57.58 kB / 1.051 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002115/0.3259, allocations: 60.36 kB / 1.051 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005033/0.3309, allocations: 1.921 MB / 1.053 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/0.331, allocations: 3.938 kB / 1.053 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001397/0.3311, allocations: 27.97 kB / 1.053 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003815/0.3315, allocations: 153.4 kB / 1.053 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00779/0.3393, allocations: 2.616 MB / 1.056 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009895/0.3492, allocations: 6.657 MB / 1.062 GB, free: 4.988 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/0.3526, allocations: 1.266 MB / 1.063 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002576/0.3552, allocations: 0.9038 MB / 1.064 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002162/0.3574, allocations: 1.491 MB / 1.066 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.3575, allocations: 46.42 kB / 1.066 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=73): time 2.414e-06/0.3575, allocations: 0 / 1.066 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of matching and sorting (n=107): time 0.0285/0.386, allocations: 8.247 MB / 1.074 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.3861, allocations: 94.11 kB / 1.074 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008561/0.3869, allocations: 0.5769 MB / 1.074 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001821/0.3871, allocations: 45.7 kB / 1.074 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.3875, allocations: 419 kB / 1.075 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004088/0.3879, allocations: 366.7 kB / 1.075 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.3881, allocations: 105.7 kB / 1.075 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002126/0.3884, allocations: 390.8 kB / 1.076 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003056/0.3914, allocations: 1.111 MB / 1.077 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003336/0.3948, allocations: 1.46 MB / 1.078 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006426/0.4012, allocations: 2.6 MB / 1.081 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-05/0.4013, allocations: 4 kB / 1.081 GB, free: 1.387 MB / 0.8262 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.01168/0.413, allocations: 3.901 MB / 1.085 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000279/0.4133, allocations: 398.6 kB / 1.085 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/0.4133, allocations: 12 kB / 1.085 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005328/0.4186, allocations: 1.388 MB / 1.086 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.4207, allocations: 463.2 kB / 1.087 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.436, allocations: 11.24 MB / 1.098 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/0.4383, allocations: 311.5 kB / 1.098 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.4386, allocations: 63.97 kB / 1.098 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.4386, allocations: 4 kB / 1.098 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01015/0.4488, allocations: 3.58 MB / 1.102 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.696e-05/0.4488, allocations: 11.94 kB / 1.102 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003975/0.4528, allocations: 1.1 MB / 1.103 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/0.455, allocations: 479.1 kB / 1.103 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.4682, allocations: 10.35 MB / 1.113 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002255/0.4704, allocations: 311.6 kB / 1.113 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/0.4707, allocations: 59.97 kB / 1.114 GB, free: 14.48 MB / 0.8731 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.0007269/0.4715, allocations: 386.2 kB / 1.114 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/0.4717, allocations: 83 kB / 1.114 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.011/0.4827, allocations: 3.774 MB / 1.118 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.4828, allocations: 8 kB / 1.118 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/0.4828, allocations: 12 kB / 1.118 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.4828, allocations: 3.984 kB / 1.118 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01334/0.4962, allocations: 5.493 MB / 1.123 GB, free: 4.543 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/0.4962, allocations: 4 kB / 1.123 GB, free: 4.539 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/0.498, allocations: 363.3 kB / 1.123 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004832/0.5029, allocations: 1.252 MB / 1.125 GB, free: 2.918 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/0.5031, allocations: 35.92 kB / 1.125 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01506/0.5182, allocations: 10.75 MB / 1.135 GB, free: 7.598 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.678e-06/0.5182, allocations: 11.94 kB / 1.135 GB, free: 7.586 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/0.5289, allocations: 3.681 MB / 1.139 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008423/0.5298, allocations: 340 kB / 1.139 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/0.5301, allocations: 20 kB / 1.139 GB, free: 3.438 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/0.5322, allocations: 319.5 kB / 1.139 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004281/0.5326, allocations: 104.1 kB / 1.14 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/0.5328, allocations: 44.16 kB / 1.14 GB, free: 2.98 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005526/0.5333, allocations: 406.8 kB / 1.14 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5333, allocations: 0 / 1.14 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002218/0.5356, allocations: 0.5977 MB / 1.141 GB, free: 1.984 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.0003017/0.5359, allocations: 147.3 kB / 1.141 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.01521/0.5511, allocations: 5.722 MB / 1.146 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/0.5511, allocations: 0 / 1.146 GB, free: 12 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.005465/0.5566, allocations: 2.13 MB / 1.148 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.5585, allocations: 155.4 kB / 1.148 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.5699, allocations: 3.966 MB / 1.152 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009381/0.5709, allocations: 1.106 MB / 1.153 GB, free: 4.461 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005293/0.5715, allocations: 107.3 kB / 1.154 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of SimCode: time 1.293e-06/0.5715, allocations: 4 kB / 1.154 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of Templates: time 0.03969/0.6112, allocations: 29.32 MB / 1.182 GB, free: 7.012 MB / 0.9356 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