Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ACACConverter,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.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,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.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009787/0.0009787, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.00767/0.00767, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.561/1.561, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.845/2.845, allocations: 390.9 MB / 0.6663 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005065/0.0005067, allocations: 8 kB / 0.816 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148/1.148, allocations: 142.4 MB / 0.955 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.003803/1.152, allocations: 2.437 MB / 0.9574 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003668/1.156, allocations: 2.075 MB / 0.9594 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/1.156, allocations: 11.41 kB / 0.9595 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000225/1.156, allocations: 27.41 kB / 0.9595 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000783/1.157, allocations: 207.1 kB / 0.9597 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008796/1.158, allocations: 241.5 kB / 0.9599 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006229/1.159, allocations: 459.7 kB / 0.9603 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000762/1.16, allocations: 356.2 kB / 0.9607 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003496/1.16, allocations: 105.4 kB / 0.9608 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000511/1.16, allocations: 151.3 kB / 0.9609 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.097e-05/1.16, allocations: 10.59 kB / 0.9609 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/1.162, allocations: 482.2 kB / 0.9614 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001728/1.162, allocations: 81.47 kB / 0.9615 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002122/1.162, allocations: 132.1 kB / 0.9616 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/1.163, allocations: 495.4 kB / 0.9621 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/1.163, allocations: 0 / 0.9621 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.923e-06/1.163, allocations: 0 / 0.9621 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.67e-05/1.163, allocations: 0.6875 kB / 0.9621 GB, free: 2.445 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001232/1.164, allocations: 0.5213 MB / 0.9626 GB, free: 1.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/1.164, allocations: 12.94 kB / 0.9626 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/1.166, allocations: 130.1 kB / 0.9627 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/1.166, allocations: 262.4 kB / 0.963 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.159e-05/1.166, allocations: 20.58 kB / 0.963 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/1.166, allocations: 21.19 kB / 0.963 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009542/1.167, allocations: 398.5 kB / 0.9634 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.363e-05/1.167, allocations: 4.906 kB / 0.9634 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/1.167, allocations: 10.83 kB / 0.9634 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.393e-05/1.168, allocations: 24.89 kB / 0.9634 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/1.168, allocations: 384.4 kB / 0.9638 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002477/1.171, allocations: 1.739 MB / 0.9655 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008661/1.172, allocations: 357.2 kB / 0.9658 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/1.172, allocations: 200.5 kB / 0.966 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/1.172, allocations: 92 kB / 0.9661 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/1.172, allocations: 33.16 kB / 0.9662 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 1.703e-06/1.173, allocations: 0 / 0.9662 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.01038/1.183, allocations: 2.223 MB / 0.9683 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.183, allocations: 80.55 kB / 0.9684 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/1.183, allocations: 183.8 kB / 0.9686 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/1.183, allocations: 31.67 kB / 0.9686 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/1.184, allocations: 145.7 kB / 0.9687 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/1.184, allocations: 129.8 kB / 0.9689 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/1.184, allocations: 36.11 kB / 0.9689 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001864/1.184, allocations: 328.7 kB / 0.9692 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000691/1.185, allocations: 273.3 kB / 0.9695 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007825/1.186, allocations: 356.9 kB / 0.9698 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/1.187, allocations: 0.6375 MB / 0.9704 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.187, allocations: 5 kB / 0.9704 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001713/1.189, allocations: 0.6833 MB / 0.9711 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.000165/1.189, allocations: 156.7 kB / 0.9713 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/1.189, allocations: 5.984 kB / 0.9713 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.175e-05/1.189, allocations: 5.062 kB / 0.9713 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/1.19, allocations: 164.3 kB / 0.9714 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/1.19, allocations: 7.672 kB / 0.9714 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/1.191, allocations: 56.67 kB / 0.9715 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/1.191, allocations: 23.91 kB / 0.9715 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.191, allocations: 8.125 kB / 0.9715 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001623/1.193, allocations: 0.6142 MB / 0.9721 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/1.193, allocations: 2.531 kB / 0.9721 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/1.193, allocations: 8 kB / 0.9721 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009596/1.194, allocations: 150.3 kB / 0.9723 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.96e-05/1.194, allocations: 12.8 kB / 0.9723 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/1.194, allocations: 54.5 kB / 0.9723 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.162e-05/1.194, allocations: 20.23 kB / 0.9724 GB, free: 11.39 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003563/1.195, allocations: 238.8 kB / 0.9726 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/1.195, allocations: 26.62 kB / 0.9726 GB, free: 11.15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/1.196, allocations: 0.7001 MB / 0.9733 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/1.196, allocations: 3.5 kB / 0.9733 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/1.196, allocations: 5.281 kB / 0.9733 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/1.196, allocations: 3.984 kB / 0.9733 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002812/1.199, allocations: 1.388 MB / 0.9747 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/1.199, allocations: 2.25 kB / 0.9747 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006013/1.2, allocations: 124 kB / 0.9748 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.126e-05/1.2, allocations: 4.125 kB / 0.9748 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.016e-05/1.2, allocations: 12.39 kB / 0.9748 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/1.2, allocations: 7.188 kB / 0.9748 GB, free: 9.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.2, allocations: 17.94 kB / 0.9748 GB, free: 9.621 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/1.201, allocations: 0.7231 MB / 0.9755 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/1.202, allocations: 138 kB / 0.9757 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/1.202, allocations: 7.938 kB / 0.9757 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/1.202, allocations: 45.66 kB / 0.9757 GB, free: 8.969 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/1.202, allocations: 36 kB / 0.9757 GB, free: 8.945 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/1.202, allocations: 13.47 kB / 0.9758 GB, free: 8.941 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000251/1.203, allocations: 153.5 kB / 0.9759 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.61e-07/1.203, allocations: 0 / 0.9759 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000916/1.203, allocations: 146.4 kB / 0.976 GB, free: 8.809 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003431/1.204, allocations: 136.4 kB / 0.9762 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002177/1.206, allocations: 0.919 MB / 0.9771 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.206, allocations: 0 / 0.9771 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005011/1.207, allocations: 261.3 kB / 0.9773 GB, free: 7.867 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006256/1.207, allocations: 54.53 kB / 0.9774 GB, free: 7.816 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/1.209, allocations: 0.8243 MB / 0.9782 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/1.209, allocations: 0.7838 MB / 0.9789 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0006314/1.21, allocations: 174.8 kB / 0.9791 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/1.21, allocations: 31.44 kB / 0.9791 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of SimCode: time 8.31e-07/1.21, allocations: 0 / 0.9791 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of Templates: time 0.01079/1.221, allocations: 4.874 MB / 0.9839 GB, free: 1.07 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches