Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.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.ACACTransformer,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.ACACTransformer") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer,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.ACACTransformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007947/0.0007948, allocations: 99.11 kB / 16.02 MB, free: 76 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.0009152/0.0009152, allocations: 183 kB / 16.92 MB, free: 6.918 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.886/2.886, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004163, allocations: 12.56 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3377, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.005815/0.3436, allocations: 4.735 MB / 1.064 GB, free: 204 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006272/0.3499, allocations: 3.997 MB / 1.068 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000688/0.3507, allocations: 19.88 kB / 1.068 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004415/0.3511, allocations: 83.31 kB / 1.068 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.353, allocations: 0.6304 MB / 1.069 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.3542, allocations: 429.9 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001603/0.3558, allocations: 1.411 MB / 1.07 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.3572, allocations: 0.6769 MB / 1.071 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007465/0.358, allocations: 346.6 kB / 1.071 GB, free: 8.574 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009951/0.359, allocations: 478.2 kB / 1.072 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001843/0.3592, allocations: 39.92 kB / 1.072 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.3611, allocations: 0.9785 MB / 1.073 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003933/0.3615, allocations: 275.2 kB / 1.073 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005533/0.3621, allocations: 375.7 kB / 1.073 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.3635, allocations: 0.9665 MB / 1.074 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3635, allocations: 0 / 1.074 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3635, allocations: 0 / 1.074 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.791e-05/0.3635, allocations: 0 / 1.074 GB, free: 5.473 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: 181 * Number of variables: 181 Notification: Performance of Generate backend data structure: time 0.00207/0.3656, allocations: 0.9469 MB / 1.075 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3657, allocations: 15.97 kB / 1.075 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009887/0.3755, allocations: 1.642 MB / 1.077 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.3768, allocations: 0.539 MB / 1.077 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.316e-05/0.3768, allocations: 45.67 kB / 1.077 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/0.3771, allocations: 68.27 kB / 1.078 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005369/0.3825, allocations: 1.856 MB / 1.079 GB, free: 200 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.091e-05/0.3826, allocations: 3.938 kB / 1.079 GB, free: 196 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.3827, allocations: 27.98 kB / 1.079 GB, free: 168 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000234/0.383, allocations: 109.5 kB / 1.079 GB, free: 60 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008274/0.3913, allocations: 2.491 MB / 1.082 GB, free: 13.56 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009604/0.4009, allocations: 6.372 MB / 1.088 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003807/0.4047, allocations: 1.374 MB / 1.089 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002728/0.4075, allocations: 0.9142 MB / 1.09 GB, free: 4.422 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002904/0.4104, allocations: 2.158 MB / 1.092 GB, free: 2.18 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.4105, allocations: 42.5 kB / 1.093 GB, free: 2.129 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=69): time 2.815e-06/0.4105, allocations: 4 kB / 1.093 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of matching and sorting (n=93): time 0.02488/0.4354, allocations: 6.778 MB / 1.099 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.4356, allocations: 191.9 kB / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009747/0.4366, allocations: 0.5173 MB / 1.1 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002403/0.4369, allocations: 41.7 kB / 1.1 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/0.4372, allocations: 390.7 kB / 1.1 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005104/0.4378, allocations: 331.3 kB / 1.101 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/0.4381, allocations: 101.7 kB / 1.101 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.4383, allocations: 374.8 kB / 1.101 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003127/0.4414, allocations: 1.013 MB / 1.102 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003366/0.4448, allocations: 1.302 MB / 1.103 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006354/0.4512, allocations: 2.304 MB / 1.106 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.4512, allocations: 4 kB / 1.106 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01038/0.4616, allocations: 3.369 MB / 1.109 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.00027/0.4619, allocations: 345 kB / 1.109 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.566e-05/0.4619, allocations: 8 kB / 1.109 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004572/0.4665, allocations: 1.092 MB / 1.11 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/0.4688, allocations: 471.2 kB / 1.111 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01138/0.4802, allocations: 8.959 MB / 1.119 GB, free: 5.559 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002406/0.4827, allocations: 311.5 kB / 1.12 GB, free: 5.254 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002569/0.483, allocations: 55.97 kB / 1.12 GB, free: 5.199 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.483, allocations: 4 kB / 1.12 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00957/0.4926, allocations: 3.063 MB / 1.123 GB, free: 2.121 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/0.4926, allocations: 8 kB / 1.123 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00311/0.4957, allocations: 0.7556 MB / 1.124 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/0.4981, allocations: 495.2 kB / 1.124 GB, free: 0.8633 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009533/0.5077, allocations: 6.927 MB / 1.131 GB, free: 9.535 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002288/0.51, allocations: 307.5 kB / 1.131 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/0.5103, allocations: 59.95 kB / 1.131 GB, free: 9.176 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (124): * Single equations (assignments): 120 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0007602/0.511, allocations: 364.6 kB / 1.131 GB, free: 8.809 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003203/0.5114, allocations: 71.16 kB / 1.132 GB, free: 8.738 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01007/0.5215, allocations: 3.12 MB / 1.135 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/0.5215, allocations: 12 kB / 1.135 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.363e-05/0.5215, allocations: 4 kB / 1.135 GB, free: 5.57 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.5216, allocations: 7.984 kB / 1.135 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.5343, allocations: 5.032 MB / 1.14 GB, free: 400 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/0.5344, allocations: 8 kB / 1.14 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/0.5361, allocations: 367.9 kB / 1.14 GB, free: 24 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00403/0.5402, allocations: 1.002 MB / 1.141 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.5403, allocations: 35.97 kB / 1.141 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/0.5507, allocations: 8.665 MB / 1.149 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.5508, allocations: 7.938 kB / 1.149 GB, free: 5.762 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009881/0.5607, allocations: 3.258 MB / 1.153 GB, free: 2.414 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006891/0.5614, allocations: 308.1 kB / 1.153 GB, free: 2.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.5616, allocations: 24 kB / 1.153 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002014/0.5637, allocations: 299.5 kB / 1.153 GB, free: 1.777 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003075/0.564, allocations: 95.7 kB / 1.153 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.5641, allocations: 39.97 kB / 1.153 GB, free: 1.645 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006201/0.5647, allocations: 374.8 kB / 1.154 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.4e-07/0.5647, allocations: 0 / 1.154 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002195/0.5669, allocations: 0.5078 MB / 1.154 GB, free: 0.7695 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (66): * Single equations (assignments): 62 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002858/0.5672, allocations: 135.1 kB / 1.154 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01332/0.5806, allocations: 4.847 MB / 1.159 GB, free: 11.69 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.5806, allocations: 0 / 1.159 GB, free: 11.69 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00433/0.5849, allocations: 1.745 MB / 1.161 GB, free: 9.895 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/0.5865, allocations: 122.8 kB / 1.161 GB, free: 9.773 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/0.5978, allocations: 3.656 MB / 1.164 GB, free: 6.016 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008866/0.5987, allocations: 1.044 MB / 1.165 GB, free: 4.941 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005796/0.5993, allocations: 103.3 kB / 1.165 GB, free: 4.84 MB / 0.92 GB Notification: Performance of SimCode: time 1.273e-06/0.5993, allocations: 0 / 1.165 GB, free: 4.84 MB / 0.92 GB Notification: Performance of Templates: time 0.03677/0.6361, allocations: 25.86 MB / 1.191 GB, free: 10.95 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches