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.001024/0.001024, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001106/0.001106, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.836/2.836, allocations: 462.6 MB / 0.736 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000357/0.0003571, allocations: 12.56 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4097/0.4101, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.005697/0.4159, allocations: 4.515 MB / 1.062 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005639/0.4216, allocations: 3.742 MB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003904/0.422, allocations: 11.94 kB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.4224, allocations: 87.25 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.424, allocations: 0.5056 MB / 1.067 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.4254, allocations: 359.1 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001424/0.4268, allocations: 1.141 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.4281, allocations: 0.6539 MB / 1.069 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005101/0.4286, allocations: 338.7 kB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007632/0.4294, allocations: 466.4 kB / 1.07 GB, free: 9.406 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.51e-05/0.4295, allocations: 32 kB / 1.07 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.4308, allocations: 483.2 kB / 1.07 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003036/0.4311, allocations: 275.3 kB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001542/0.4313, allocations: 141.3 kB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00116/0.4325, allocations: 0.947 MB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4325, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.236e-06/0.4325, allocations: 4 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.4325, allocations: 3.938 kB / 1.071 GB, free: 7.531 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.001906/0.4344, allocations: 0.9429 MB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.4345, allocations: 12.03 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007683/0.4422, allocations: 1.614 MB / 1.074 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009653/0.4432, allocations: 0.5378 MB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.4432, allocations: 49.3 kB / 1.074 GB, free: 4.281 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.4434, allocations: 59.98 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00414/0.4475, allocations: 1.836 MB / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.4476, allocations: 0 / 1.076 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.4477, allocations: 31.98 kB / 1.076 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.4479, allocations: 109.5 kB / 1.076 GB, free: 2.176 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006478/0.4544, allocations: 2.472 MB / 1.079 GB, free: 15.7 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.008767/0.4631, allocations: 6.365 MB / 1.085 GB, free: 8.93 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.4663, allocations: 1.355 MB / 1.086 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002246/0.4686, allocations: 0.8947 MB / 1.087 GB, free: 6.605 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00302/0.4716, allocations: 2.15 MB / 1.089 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.4717, allocations: 46.56 kB / 1.089 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=69): time 2.735e-06/0.4717, allocations: 0 / 1.089 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of matching and sorting (n=93): time 0.02035/0.492, allocations: 6.633 MB / 1.096 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.4922, allocations: 195.9 kB / 1.096 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007325/0.4929, allocations: 0.5172 MB / 1.097 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/0.4931, allocations: 41.7 kB / 1.097 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002867/0.4934, allocations: 390.7 kB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.4937, allocations: 319.5 kB / 1.097 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.4938, allocations: 24 kB / 1.097 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.494, allocations: 378.8 kB / 1.098 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002509/0.4965, allocations: 0.9977 MB / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00271/0.4992, allocations: 1.283 MB / 1.1 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002589/0.5018, allocations: 1.098 MB / 1.101 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.5019, allocations: 4 kB / 1.101 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.008766/0.5106, allocations: 3.333 MB / 1.104 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003016/0.511, allocations: 331.8 kB / 1.105 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.511, allocations: 8 kB / 1.105 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004012/0.515, allocations: 1.096 MB / 1.106 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/0.5169, allocations: 467.2 kB / 1.106 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01223/0.5291, allocations: 9.202 MB / 1.115 GB, free: 9.145 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.5311, allocations: 307.5 kB / 1.115 GB, free: 8.844 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.5313, allocations: 59.95 kB / 1.115 GB, free: 8.785 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.5313, allocations: 4 kB / 1.115 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007927/0.5392, allocations: 3.016 MB / 1.118 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.5393, allocations: 8.438 kB / 1.118 GB, free: 5.742 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002697/0.542, allocations: 0.7593 MB / 1.119 GB, free: 4.973 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/0.5438, allocations: 487.2 kB / 1.12 GB, free: 4.496 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009902/0.5537, allocations: 6.927 MB / 1.126 GB, free: 13.17 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002095/0.5559, allocations: 299.6 kB / 1.127 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.5561, allocations: 55.97 kB / 1.127 GB, free: 12.82 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 (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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007243/0.5568, allocations: 369 kB / 1.127 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.5571, allocations: 71.16 kB / 1.127 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008601/0.5657, allocations: 3.089 MB / 1.13 GB, free: 9.262 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.5657, allocations: 12 kB / 1.13 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.33e-05/0.5658, allocations: 7.953 kB / 1.13 GB, free: 9.242 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.5658, allocations: 7.984 kB / 1.13 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/0.5771, allocations: 5.019 MB / 1.135 GB, free: 4.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.5771, allocations: 7.938 kB / 1.135 GB, free: 4.062 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/0.5786, allocations: 363.9 kB / 1.135 GB, free: 3.707 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003671/0.5823, allocations: 1.003 MB / 1.136 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001594/0.5825, allocations: 31.97 kB / 1.136 GB, free: 2.66 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/0.593, allocations: 8.649 MB / 1.145 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.5931, allocations: 11.89 kB / 1.145 GB, free: 9.461 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008309/0.6014, allocations: 3.259 MB / 1.148 GB, free: 6.113 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006592/0.6021, allocations: 312 kB / 1.148 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001374/0.6023, allocations: 19.98 kB / 1.148 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.6038, allocations: 291.5 kB / 1.149 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/0.6041, allocations: 95.72 kB / 1.149 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-05/0.6042, allocations: 39.97 kB / 1.149 GB, free: 5.352 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004945/0.6047, allocations: 362.8 kB / 1.149 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6047, allocations: 0 / 1.149 GB, free: 4.996 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002014/0.6067, allocations: 0.5078 MB / 1.15 GB, free: 4.488 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 (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%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002631/0.607, allocations: 135 kB / 1.15 GB, free: 4.348 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.01193/0.6189, allocations: 4.967 MB / 1.155 GB, free: 15.3 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/0.619, allocations: 1.062 kB / 1.155 GB, free: 15.3 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003882/0.6229, allocations: 1.734 MB / 1.156 GB, free: 13.51 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001266/0.6242, allocations: 112.9 kB / 1.156 GB, free: 13.4 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009168/0.6334, allocations: 3.518 MB / 1.16 GB, free: 9.781 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008191/0.6342, allocations: 1.036 MB / 1.161 GB, free: 8.719 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001943/0.6362, allocations: 0.4943 MB / 1.161 GB, free: 8.219 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003018/0.6365, allocations: 83.38 kB / 1.161 GB, free: 8.137 MB / 0.92 GB Notification: Performance of SimCode: time 1.102e-06/0.6365, allocations: 3.938 kB / 1.161 GB, free: 8.133 MB / 0.92 GB Notification: Performance of Templates: time 0.03207/0.6686, allocations: 19.72 MB / 1.181 GB, free: 4.469 MB / 0.9356 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/jenkins/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