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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001548/0.001548, allocations: 114.7 kB / 16.42 MB, free: 6.508 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.001627/0.001627, allocations: 188.3 kB / 17.35 MB, free: 5.758 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.53/1.53, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.011/3.011, allocations: 437 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.001581, allocations: 55.91 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.182/1.184, allocations: 151.6 MB / 1.167 GB, free: 3.887 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.007052/1.191, allocations: 5.105 MB / 1.172 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.006553/1.197, allocations: 4.021 MB / 1.176 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005265/1.198, allocations: 15.94 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/1.2, allocations: 0.5767 MB / 1.177 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/1.202, allocations: 0.6845 MB / 1.177 GB, free: 9.434 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001335/1.203, allocations: 456.3 kB / 1.178 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001269/1.204, allocations: 1.017 MB / 1.179 GB, free: 7.965 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006054/1.205, allocations: 417.1 kB / 1.179 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004928/1.205, allocations: 406.5 kB / 1.18 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006575/1.206, allocations: 490.2 kB / 1.18 GB, free: 6.68 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-05/1.206, allocations: 60 kB / 1.18 GB, free: 6.621 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001486/1.208, allocations: 0.8108 MB / 1.181 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002944/1.208, allocations: 315.1 kB / 1.181 GB, free: 5.5 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003891/1.208, allocations: 378 kB / 1.182 GB, free: 5.129 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/1.21, allocations: 1.289 MB / 1.183 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/1.21, allocations: 0 / 1.183 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.363e-06/1.21, allocations: 0 / 1.183 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.225e-05/1.21, allocations: 4 kB / 1.183 GB, free: 3.832 MB / 0.9044 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.002021/1.212, allocations: 1.097 MB / 1.184 GB, free: 2.684 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.212, allocations: 8.922 kB / 1.184 GB, free: 2.676 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009777/1.222, allocations: 1.634 MB / 1.186 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/1.223, allocations: 0.5821 MB / 1.186 GB, free: 420 kB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/1.223, allocations: 45.67 kB / 1.186 GB, free: 376 kB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/1.223, allocations: 64.34 kB / 1.186 GB, free: 312 kB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005402/1.229, allocations: 1.845 MB / 1.188 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/1.229, allocations: 4 kB / 1.188 GB, free: 14.39 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/1.229, allocations: 27.98 kB / 1.188 GB, free: 14.36 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002632/1.229, allocations: 105.5 kB / 1.188 GB, free: 14.25 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00839/1.238, allocations: 2.48 MB / 1.191 GB, free: 11.78 MB / 0.92 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.009774/1.248, allocations: 6.369 MB / 1.197 GB, free: 4.996 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/1.251, allocations: 1.371 MB / 1.198 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002799/1.254, allocations: 0.908 MB / 1.199 GB, free: 2.645 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002961/1.257, allocations: 2.154 MB / 1.201 GB, free: 420 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/1.257, allocations: 42.56 kB / 1.201 GB, free: 368 kB / 0.92 GB Notification: Performance of pre-optimization done (n=69): time 3.065e-06/1.257, allocations: 0 / 1.201 GB, free: 368 kB / 0.92 GB Notification: Performance of matching and sorting (n=93): time 0.02568/1.283, allocations: 6.658 MB / 1.208 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/1.283, allocations: 191.7 kB / 1.208 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008243/1.284, allocations: 0.5252 MB / 1.208 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002205/1.284, allocations: 37.7 kB / 1.208 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/1.285, allocations: 404.1 kB / 1.209 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000445/1.285, allocations: 341.1 kB / 1.209 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000601/1.286, allocations: 254.7 kB / 1.209 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001933/1.286, allocations: 378.8 kB / 1.21 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00322/1.289, allocations: 1.005 MB / 1.211 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003499/1.293, allocations: 1.291 MB / 1.212 GB, free: 5.082 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006916/1.3, allocations: 2.281 MB / 1.214 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/1.3, allocations: 0 / 1.214 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.01194/1.312, allocations: 3.326 MB / 1.217 GB, free: 15.33 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/1.312, allocations: 10.5 kB / 1.217 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/1.312, allocations: 11.98 kB / 1.217 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004546/1.316, allocations: 1.038 MB / 1.219 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002555/1.319, allocations: 463.2 kB / 1.219 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/1.333, allocations: 9.696 MB / 1.228 GB, free: 3.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002651/1.336, allocations: 303.5 kB / 1.229 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003583/1.336, allocations: 59.97 kB / 1.229 GB, free: 3.199 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003871/1.34, allocations: 1.199 MB / 1.23 GB, free: 1.996 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003491/1.343, allocations: 1.271 MB / 1.231 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006748/1.35, allocations: 2.269 MB / 1.233 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.718e-05/1.35, allocations: 480 / 1.233 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.01044/1.361, allocations: 3.079 MB / 1.236 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/1.361, allocations: 14.66 kB / 1.236 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/1.361, allocations: 8 kB / 1.236 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003133/1.364, allocations: 0.7479 MB / 1.237 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/1.367, allocations: 487.2 kB / 1.238 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/1.377, allocations: 7.212 MB / 1.245 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/1.38, allocations: 299.5 kB / 1.245 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004427/1.38, allocations: 55.97 kB / 1.245 GB, free: 1.895 MB / 0.9669 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.0009538/1.381, allocations: 252 kB / 1.245 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005807/1.382, allocations: 83.47 kB / 1.245 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/1.393, allocations: 3.07 MB / 1.248 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.113e-05/1.393, allocations: 3.984 kB / 1.248 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/1.393, allocations: 7.984 kB / 1.248 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008049/1.393, allocations: 296.5 kB / 1.249 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003305/1.394, allocations: 19.98 kB / 1.249 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/1.396, allocations: 283.5 kB / 1.249 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003723/1.396, allocations: 87.8 kB / 1.249 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01065/1.407, allocations: 3.427 MB / 1.252 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009961/1.417, allocations: 3.654 MB / 1.256 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003096/1.42, allocations: 0.9955 MB / 1.257 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0008085/1.421, allocations: 378.8 kB / 1.257 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of Backend: time 3.21e-07/1.421, allocations: 0 / 1.257 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.01397/1.435, allocations: 4.242 MB / 1.261 GB, free: 0.9219 MB / 0.9825 GB Notification: Performance of SimCode: time 0.005481/1.441, allocations: 2.045 MB / 1.263 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.0676/1.508, allocations: 35.05 MB / 1.298 GB, free: 11.79 MB / 1.029 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/jenkins1/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