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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.00175/0.00175, allocations: 115.2 kB / 16.42 MB, free: 6.457 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.002009/0.002009, allocations: 183.9 kB / 17.35 MB, free: 5.734 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.488/1.488, 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 12.0.0-master/package.mo): time 2.794/2.794, allocations: 472.7 MB / 0.746 GB, free: 412 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 75.89 kB / 1.07 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9531/0.9546, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.007832/0.9625, allocations: 5.111 MB / 1.231 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006849/0.9693, allocations: 4.02 MB / 1.235 GB, free: 4.363 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007292/0.9701, allocations: 19.88 kB / 1.235 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001822/0.972, allocations: 0.5679 MB / 1.236 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.9742, allocations: 0.6923 MB / 1.237 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.9756, allocations: 462.5 kB / 1.237 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001348/0.9769, allocations: 1.013 MB / 1.238 GB, free: 1.613 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006128/0.9776, allocations: 402.6 kB / 1.238 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005157/0.9781, allocations: 414.5 kB / 1.239 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006683/0.9788, allocations: 486.2 kB / 1.239 GB, free: 340 kB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-05/0.9789, allocations: 60 kB / 1.239 GB, free: 280 kB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.9805, allocations: 0.8147 MB / 1.24 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002884/0.9808, allocations: 311.2 kB / 1.24 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003718/0.9812, allocations: 374 kB / 1.241 GB, free: 14.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.9828, allocations: 1.303 MB / 1.242 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.9829, allocations: 0 / 1.242 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9829, allocations: 3.938 kB / 1.242 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.9829, allocations: 4 kB / 1.242 GB, free: 13.47 MB / 0.9669 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.001936/0.9848, allocations: 1.09 MB / 1.243 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.9849, allocations: 16.03 kB / 1.243 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008749/0.9936, allocations: 1.631 MB / 1.245 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001175/0.9949, allocations: 0.582 MB / 1.245 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.689e-05/0.9949, allocations: 45.67 kB / 1.245 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.9951, allocations: 60.36 kB / 1.245 GB, free: 9.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004489/0.9996, allocations: 1.837 MB / 1.247 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.9996, allocations: 7.938 kB / 1.247 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.9998, allocations: 39.92 kB / 1.247 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000209/1, allocations: 101.5 kB / 1.247 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00704/1.007, allocations: 2.48 MB / 1.25 GB, free: 5.426 MB / 0.9669 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.009043/1.016, allocations: 6.358 MB / 1.256 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003446/1.02, allocations: 1.368 MB / 1.257 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002378/1.022, allocations: 0.8987 MB / 1.258 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00275/1.025, allocations: 2.146 MB / 1.26 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/1.025, allocations: 58.48 kB / 1.26 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=69): time 2.985e-06/1.025, allocations: 0 / 1.26 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=93): time 0.02339/1.048, allocations: 6.656 MB / 1.267 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/1.048, allocations: 195.9 kB / 1.267 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007588/1.049, allocations: 0.5252 MB / 1.267 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001562/1.049, allocations: 41.7 kB / 1.267 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/1.05, allocations: 400.1 kB / 1.268 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003973/1.05, allocations: 333.2 kB / 1.268 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000535/1.051, allocations: 254.8 kB / 1.268 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001633/1.051, allocations: 378.8 kB / 1.269 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002727/1.053, allocations: 1.009 MB / 1.27 GB, free: 152 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002912/1.056, allocations: 1.287 MB / 1.271 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005519/1.062, allocations: 2.285 MB / 1.273 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/1.062, allocations: 0 / 1.273 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.009523/1.071, allocations: 3.322 MB / 1.277 GB, free: 9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/1.072, allocations: 8 kB / 1.277 GB, free: 8.992 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/1.072, allocations: 8 kB / 1.277 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004121/1.076, allocations: 1.053 MB / 1.278 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/1.078, allocations: 467.2 kB / 1.278 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/1.09, allocations: 9.693 MB / 1.287 GB, free: 13.21 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/1.092, allocations: 299.5 kB / 1.288 GB, free: 12.91 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002982/1.092, allocations: 63.97 kB / 1.288 GB, free: 12.85 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003248/1.096, allocations: 1.189 MB / 1.289 GB, free: 11.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002972/1.099, allocations: 1.279 MB / 1.29 GB, free: 10.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005572/1.104, allocations: 2.261 MB / 1.292 GB, free: 7.891 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.527e-05/1.104, allocations: 4 kB / 1.292 GB, free: 7.887 MB / 1.014 GB Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.008818/1.113, allocations: 3.083 MB / 1.295 GB, free: 4.785 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/1.113, allocations: 8 kB / 1.295 GB, free: 4.777 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-05/1.113, allocations: 8 kB / 1.295 GB, free: 4.77 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002878/1.116, allocations: 0.7402 MB / 1.296 GB, free: 4.02 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/1.118, allocations: 483.2 kB / 1.297 GB, free: 3.547 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008282/1.127, allocations: 7.216 MB / 1.304 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/1.129, allocations: 295.5 kB / 1.304 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002715/1.129, allocations: 60.03 kB / 1.304 GB, free: 11.56 MB / 1.029 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.0005426/1.13, allocations: 256.3 kB / 1.304 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003559/1.13, allocations: 75.53 kB / 1.304 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009143/1.139, allocations: 3.066 MB / 1.307 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.349e-05/1.139, allocations: 3.984 kB / 1.307 GB, free: 8.133 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.139, allocations: 4 kB / 1.307 GB, free: 8.129 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006247/1.14, allocations: 304.5 kB / 1.308 GB, free: 7.812 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002433/1.14, allocations: 20 kB / 1.308 GB, free: 7.793 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001864/1.142, allocations: 279.5 kB / 1.308 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/1.142, allocations: 91.52 kB / 1.308 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009023/1.151, allocations: 3.431 MB / 1.311 GB, free: 3.973 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008247/1.16, allocations: 3.65 MB / 1.315 GB, free: 304 kB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002544/1.162, allocations: 0.9906 MB / 1.316 GB, free: 15.3 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.00062/1.163, allocations: 382.8 kB / 1.316 GB, free: 14.93 MB / 1.045 GB Notification: Performance of Backend: time 1.603e-06/1.163, allocations: 0 / 1.316 GB, free: 14.93 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.01084/1.174, allocations: 4.252 MB / 1.32 GB, free: 10.58 MB / 1.045 GB Notification: Performance of SimCode: time 0.003207/1.177, allocations: 2.031 MB / 1.322 GB, free: 8.512 MB / 1.045 GB Notification: Performance of Templates: time 0.05173/1.229, allocations: 35.06 MB / 1.357 GB, free: 5.461 MB / 1.076 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