Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001214/0.001214, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001698/0.001699, allocations: 172.7 kB / 15.95 MB, free: 208 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.55/1.55, allocations: 223.3 MB / 240 MB, free: 5.293 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.917/2.917, allocations: 437.7 MB / 0.7117 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004246, allocations: 8 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8982/0.8986, allocations: 153.8 MB / 1.022 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.00617/0.9048, allocations: 4.513 MB / 1.027 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006489/0.9114, allocations: 3.747 MB / 1.03 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007347/0.9122, allocations: 11.94 kB / 1.03 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.9127, allocations: 87.25 kB / 1.031 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.9144, allocations: 0.5018 MB / 1.031 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.9157, allocations: 359.1 kB / 1.031 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001597/0.9173, allocations: 1.138 MB / 1.033 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001424/0.9187, allocations: 0.6578 MB / 1.033 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007297/0.9195, allocations: 338.7 kB / 1.033 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008847/0.9204, allocations: 466.3 kB / 1.034 GB, free: 4.145 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.201e-05/0.9205, allocations: 32 kB / 1.034 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.9216, allocations: 479.3 kB / 1.034 GB, free: 3.645 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002959/0.9219, allocations: 275.2 kB / 1.035 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.9221, allocations: 145.3 kB / 1.035 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.9231, allocations: 0.9448 MB / 1.036 GB, free: 2.281 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.9231, allocations: 4 kB / 1.036 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9232, allocations: 0 / 1.036 GB, free: 2.277 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.9232, allocations: 0 / 1.036 GB, free: 2.277 MB / 0.7794 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.001657/0.9248, allocations: 0.9429 MB / 1.037 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.9249, allocations: 16.56 kB / 1.037 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007939/0.9328, allocations: 1.614 MB / 1.038 GB, free: 15.65 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.9339, allocations: 0.5378 MB / 1.039 GB, free: 15.08 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.532e-05/0.934, allocations: 49.25 kB / 1.039 GB, free: 15.03 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.9341, allocations: 71.97 kB / 1.039 GB, free: 14.96 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004236/0.9384, allocations: 1.817 MB / 1.041 GB, free: 13.07 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.849e-05/0.9384, allocations: 7.938 kB / 1.041 GB, free: 13.06 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.9385, allocations: 27.98 kB / 1.041 GB, free: 13.04 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002198/0.9388, allocations: 113.5 kB / 1.041 GB, free: 12.92 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006707/0.9455, allocations: 2.48 MB / 1.043 GB, free: 10.44 MB / 0.795 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.009021/0.9545, allocations: 6.346 MB / 1.049 GB, free: 3.699 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/0.9577, allocations: 1.366 MB / 1.051 GB, free: 2.281 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002189/0.9599, allocations: 0.9064 MB / 1.052 GB, free: 1.355 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002743/0.9626, allocations: 2.15 MB / 1.054 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.9627, allocations: 50.48 kB / 1.054 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 2.625e-06/0.9627, allocations: 4 kB / 1.054 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=93): time 0.02715/0.9899, allocations: 6.631 MB / 1.06 GB, free: 8.395 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.9901, allocations: 191.9 kB / 1.06 GB, free: 8.164 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.9912, allocations: 0.5172 MB / 1.061 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000236/0.9914, allocations: 41.7 kB / 1.061 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004108/0.9919, allocations: 394.7 kB / 1.061 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005739/0.9925, allocations: 319.4 kB / 1.062 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.9927, allocations: 24 kB / 1.062 GB, free: 6.855 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002371/0.9929, allocations: 374.8 kB / 1.062 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004775/0.9977, allocations: 1.002 MB / 1.063 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005782/1.004, allocations: 1.287 MB / 1.064 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005536/1.009, allocations: 1.079 MB / 1.065 GB, free: 3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/1.009, allocations: 7.938 kB / 1.065 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01811/1.027, allocations: 3.329 MB / 1.069 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004041/1.028, allocations: 339.9 kB / 1.069 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.778e-05/1.028, allocations: 8 kB / 1.069 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008426/1.036, allocations: 1.092 MB / 1.07 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004141/1.04, allocations: 467.2 kB / 1.07 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/1.064, allocations: 9.2 MB / 1.079 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003951/1.068, allocations: 311.4 kB / 1.08 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/1.068, allocations: 59.97 kB / 1.08 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/1.068, allocations: 4 kB / 1.08 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01272/1.081, allocations: 3.012 MB / 1.083 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.82e-05/1.081, allocations: 11.95 kB / 1.083 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002803/1.084, allocations: 0.7632 MB / 1.083 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/1.086, allocations: 487.2 kB / 1.084 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00859/1.094, allocations: 6.924 MB / 1.091 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/1.096, allocations: 295.4 kB / 1.091 GB, free: 7.621 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/1.096, allocations: 63.95 kB / 1.091 GB, free: 7.559 MB / 0.8419 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.0005745/1.097, allocations: 364.8 kB / 1.091 GB, free: 7.191 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/1.097, allocations: 71.16 kB / 1.091 GB, free: 7.121 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008701/1.106, allocations: 3.09 MB / 1.094 GB, free: 4 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.956e-05/1.106, allocations: 12 kB / 1.094 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/1.106, allocations: 4 kB / 1.095 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/1.106, allocations: 15.92 kB / 1.095 GB, free: 3.969 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01225/1.118, allocations: 5.012 MB / 1.099 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/1.118, allocations: 4 kB / 1.099 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/1.12, allocations: 360 kB / 1.1 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003728/1.124, allocations: 1.002 MB / 1.101 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001884/1.124, allocations: 35.95 kB / 1.101 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/1.135, allocations: 8.657 MB / 1.109 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.098e-05/1.135, allocations: 7.938 kB / 1.109 GB, free: 4.211 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009221/1.144, allocations: 3.254 MB / 1.112 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.145, allocations: 315.9 kB / 1.113 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/1.145, allocations: 20 kB / 1.113 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/1.147, allocations: 291.5 kB / 1.113 GB, free: 236 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004288/1.148, allocations: 99.58 kB / 1.113 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/1.148, allocations: 43.91 kB / 1.113 GB, free: 92 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0008582/1.149, allocations: 366.8 kB / 1.113 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.61e-07/1.149, allocations: 0 / 1.113 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002972/1.152, allocations: 0.5078 MB / 1.114 GB, free: 15.22 MB / 0.8731 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.0003596/1.152, allocations: 131.1 kB / 1.114 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.01272/1.165, allocations: 4.961 MB / 1.119 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 8.846e-06/1.165, allocations: 0 / 1.119 GB, free: 10.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.003873/1.169, allocations: 1.748 MB / 1.121 GB, free: 8.234 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/1.17, allocations: 113.1 kB / 1.121 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009493/1.18, allocations: 3.519 MB / 1.124 GB, free: 4.516 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008505/1.181, allocations: 1.036 MB / 1.125 GB, free: 3.445 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002123/1.183, allocations: 498.4 kB / 1.126 GB, free: 2.953 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003665/1.183, allocations: 83.36 kB / 1.126 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of SimCode: time 1.193e-06/1.183, allocations: 0 / 1.126 GB, free: 2.871 MB / 0.8731 GB Notification: Performance of Templates: time 0.03425/1.217, allocations: 19.7 MB / 1.145 GB, free: 15.21 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACTransformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches