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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001702/0.001702, allocations: 113.8 kB / 16.42 MB, free: 6.516 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.001811/0.001811, allocations: 192.2 kB / 17.35 MB, free: 5.738 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.371/1.371, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 461.9 MB / 0.7355 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 68.11 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.904/0.9055, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACTransformer): time 0.007562/0.9131, allocations: 5.12 MB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006632/0.9198, allocations: 4 MB / 1.217 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006563/0.9204, allocations: 15.88 kB / 1.217 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001739/0.9223, allocations: 0.5868 MB / 1.218 GB, free: 3.816 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001928/0.9242, allocations: 0.6767 MB / 1.219 GB, free: 3.137 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.9254, allocations: 462.9 kB / 1.219 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001068/0.9265, allocations: 1.005 MB / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005346/0.9271, allocations: 409.4 kB / 1.22 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004361/0.9275, allocations: 414.5 kB / 1.221 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006633/0.9282, allocations: 486.2 kB / 1.221 GB, free: 396 kB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.9283, allocations: 60 kB / 1.221 GB, free: 336 kB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/0.9296, allocations: 0.8147 MB / 1.222 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.9299, allocations: 311.2 kB / 1.222 GB, free: 15.21 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.9302, allocations: 374 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.9316, allocations: 1.291 MB / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.9317, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9317, allocations: 0 / 1.224 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.9317, allocations: 4 kB / 1.224 GB, free: 13.54 MB / 0.9512 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.001788/0.9335, allocations: 1.072 MB / 1.225 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.9335, allocations: 8.031 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00862/0.9421, allocations: 1.634 MB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009236/0.9431, allocations: 0.5818 MB / 1.227 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.9431, allocations: 45.67 kB / 1.227 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.9433, allocations: 60.36 kB / 1.227 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004202/0.9475, allocations: 1.841 MB / 1.229 GB, free: 8.141 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.513e-05/0.9476, allocations: 4 kB / 1.229 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/0.9477, allocations: 27.92 kB / 1.229 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002097/0.9479, allocations: 109.5 kB / 1.229 GB, free: 8 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006883/0.9548, allocations: 2.476 MB / 1.232 GB, free: 5.523 MB / 0.9512 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.008319/0.9631, allocations: 6.357 MB / 1.238 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003286/0.9664, allocations: 1.374 MB / 1.239 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/0.9687, allocations: 0.8987 MB / 1.24 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002445/0.9712, allocations: 2.158 MB / 1.242 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.9712, allocations: 46.5 kB / 1.242 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=69): time 2.645e-06/0.9713, allocations: 0 / 1.242 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=93): time 0.02233/0.9936, allocations: 6.619 MB / 1.249 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.9937, allocations: 187.9 kB / 1.249 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006169/0.9943, allocations: 0.5211 MB / 1.249 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.9945, allocations: 41.7 kB / 1.249 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.9947, allocations: 390.8 kB / 1.25 GB, free: 2.273 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003003/0.995, allocations: 323.3 kB / 1.25 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/0.9954, allocations: 250.6 kB / 1.25 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.9956, allocations: 378.8 kB / 1.251 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/0.9983, allocations: 1.009 MB / 1.252 GB, free: 320 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002768/1.001, allocations: 1.294 MB / 1.253 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005297/1.006, allocations: 2.285 MB / 1.255 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/1.006, allocations: 0 / 1.255 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00951/1.016, allocations: 3.326 MB / 1.258 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/1.016, allocations: 8 kB / 1.258 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/1.016, allocations: 8 kB / 1.258 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004183/1.02, allocations: 1.049 MB / 1.26 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/1.022, allocations: 463.2 kB / 1.26 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01126/1.034, allocations: 9.675 MB / 1.269 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002164/1.036, allocations: 303.5 kB / 1.27 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/1.036, allocations: 59.97 kB / 1.27 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003052/1.039, allocations: 1.197 MB / 1.271 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00281/1.042, allocations: 1.271 MB / 1.272 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005396/1.047, allocations: 2.265 MB / 1.274 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.848e-06/1.047, allocations: 0 / 1.274 GB, free: 8.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=152) (initialization_lambda0): time 0.008568/1.056, allocations: 3.075 MB / 1.277 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.056, allocations: 8 kB / 1.277 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/1.056, allocations: 12 kB / 1.277 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002835/1.059, allocations: 0.7482 MB / 1.278 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002058/1.061, allocations: 487.2 kB / 1.279 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008024/1.069, allocations: 7.207 MB / 1.286 GB, free: 12.09 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/1.071, allocations: 295.4 kB / 1.286 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/1.071, allocations: 59.97 kB / 1.286 GB, free: 11.75 MB / 1.014 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.0004546/1.072, allocations: 260.2 kB / 1.286 GB, free: 11.48 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/1.072, allocations: 71.16 kB / 1.286 GB, free: 11.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009063/1.081, allocations: 3.07 MB / 1.289 GB, free: 8.316 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/1.081, allocations: 3.984 kB / 1.289 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/1.081, allocations: 0 / 1.289 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004924/1.082, allocations: 304 kB / 1.29 GB, free: 7.996 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/1.082, allocations: 19.98 kB / 1.29 GB, free: 7.977 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/1.084, allocations: 283.5 kB / 1.29 GB, free: 7.699 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002638/1.084, allocations: 87.8 kB / 1.29 GB, free: 7.613 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008772/1.093, allocations: 3.419 MB / 1.293 GB, free: 4.168 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007882/1.101, allocations: 3.653 MB / 1.297 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002448/1.103, allocations: 0.995 MB / 1.298 GB, free: 15.49 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004913/1.104, allocations: 370.8 kB / 1.298 GB, free: 15.13 MB / 1.029 GB Notification: Performance of Backend: time 3e-07/1.104, allocations: 0 / 1.298 GB, free: 15.13 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.009907/1.113, allocations: 4.237 MB / 1.302 GB, free: 10.8 MB / 1.029 GB Notification: Performance of SimCode: time 0.002606/1.116, allocations: 2.025 MB / 1.304 GB, free: 8.73 MB / 1.029 GB Notification: Performance of Templates: time 0.04875/1.165, allocations: 35.79 MB / 1.339 GB, free: 4.945 MB / 1.061 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