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.01085/0.01085, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002256/0.002257, allocations: 192.6 kB / 16.67 MB, free: 5.52 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.602/1.602, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.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.866/2.866, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 67.91 kB / 0.9508 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.327/1.329, allocations: 140.4 MB / 1.088 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004278/1.333, allocations: 2.742 MB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003492/1.337, allocations: 2.085 MB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/1.337, allocations: 3.312 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008782/1.338, allocations: 226.7 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0006119/1.339, allocations: 219 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009711/1.339, allocations: 281.8 kB / 1.093 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004748/1.34, allocations: 313.8 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004137/1.34, allocations: 165.9 kB / 1.094 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/1.341, allocations: 124.2 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003564/1.341, allocations: 152.1 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.615e-05/1.341, allocations: 19.31 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009104/1.342, allocations: 419.7 kB / 1.094 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/1.342, allocations: 94.33 kB / 1.095 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001779/1.342, allocations: 116.6 kB / 1.095 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001019/1.343, allocations: 486.1 kB / 1.095 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.094e-06/1.343, allocations: 7.938 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.184e-06/1.343, allocations: 0.8125 kB / 1.095 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.809e-06/1.343, allocations: 0.7969 kB / 1.095 GB, free: 1.383 MB / 0.8575 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.001111/1.345, allocations: 0.5564 MB / 1.096 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/1.345, allocations: 8.812 kB / 1.096 GB, free: 0.9023 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/1.346, allocations: 129.4 kB / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/1.346, allocations: 266.7 kB / 1.096 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/1.346, allocations: 12.94 kB / 1.096 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.522e-05/1.346, allocations: 24.78 kB / 1.096 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009107/1.347, allocations: 394.9 kB / 1.096 GB, free: 436 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/1.347, allocations: 5.641 kB / 1.096 GB, free: 432 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/1.347, allocations: 7.125 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.45e-05/1.347, allocations: 28.59 kB / 1.097 GB, free: 420 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008965/1.348, allocations: 373 kB / 1.097 GB, free: 308 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/1.351, allocations: 1.742 MB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009078/1.352, allocations: 349.4 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004165/1.352, allocations: 188.6 kB / 1.099 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001716/1.352, allocations: 90.47 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/1.352, allocations: 41.53 kB / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/1.352, allocations: 0 / 1.099 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=35): time 0.01194/1.364, allocations: 2.054 MB / 1.101 GB, free: 14 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.017e-05/1.364, allocations: 81.98 kB / 1.101 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003851/1.365, allocations: 179.3 kB / 1.101 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.471e-05/1.365, allocations: 31.3 kB / 1.102 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/1.365, allocations: 147.4 kB / 1.102 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/1.365, allocations: 123.6 kB / 1.102 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/1.365, allocations: 80.8 kB / 1.102 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.365, allocations: 330.7 kB / 1.102 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007265/1.366, allocations: 262.6 kB / 1.102 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008378/1.367, allocations: 354.1 kB / 1.103 GB, free: 12.87 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001564/1.369, allocations: 0.6181 MB / 1.103 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/1.369, allocations: 5.25 kB / 1.103 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001772/1.37, allocations: 0.6608 MB / 1.104 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/1.37, allocations: 5.625 kB / 1.104 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.37, allocations: 6.812 kB / 1.104 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.697e-05/1.37, allocations: 5.078 kB / 1.104 GB, free: 12.3 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/1.372, allocations: 155.7 kB / 1.104 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.973e-05/1.372, allocations: 5.5 kB / 1.104 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005595/1.372, allocations: 60.44 kB / 1.104 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.779e-05/1.372, allocations: 23.27 kB / 1.104 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007238/1.373, allocations: 365.5 kB / 1.105 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006623/1.374, allocations: 343 kB / 1.105 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00131/1.375, allocations: 0.5872 MB / 1.105 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.879e-06/1.375, allocations: 2.031 kB / 1.106 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001644/1.377, allocations: 0.6401 MB / 1.106 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.377, allocations: 6.531 kB / 1.106 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.377, allocations: 1.969 kB / 1.106 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/1.377, allocations: 4.312 kB / 1.106 GB, free: 11.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000983/1.378, allocations: 157.8 kB / 1.106 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/1.378, allocations: 5.047 kB / 1.106 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005289/1.378, allocations: 49.88 kB / 1.106 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.093e-05/1.378, allocations: 22.39 kB / 1.106 GB, free: 11.34 MB / 0.8731 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.0002288/1.379, allocations: 210.1 kB / 1.107 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/1.379, allocations: 22.06 kB / 1.107 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/1.38, allocations: 0.6703 MB / 1.107 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.38, allocations: 4.438 kB / 1.107 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/1.38, allocations: 1.406 kB / 1.107 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/1.38, allocations: 1.969 kB / 1.107 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/1.383, allocations: 1.37 MB / 1.109 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.383, allocations: 3.25 kB / 1.109 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000618/1.384, allocations: 123.6 kB / 1.109 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/1.384, allocations: 3.125 kB / 1.109 GB, free: 9.996 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.13e-05/1.384, allocations: 9.672 kB / 1.109 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/1.384, allocations: 8.359 kB / 1.109 GB, free: 9.988 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.263e-06/1.384, allocations: 14.34 kB / 1.109 GB, free: 9.977 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001392/1.385, allocations: 0.7115 MB / 1.109 GB, free: 9.535 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/1.385, allocations: 140.8 kB / 1.11 GB, free: 9.414 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/1.385, allocations: 8.594 kB / 1.11 GB, free: 9.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/1.386, allocations: 43.55 kB / 1.11 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.386, allocations: 33.92 kB / 1.11 GB, free: 9.391 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/1.386, allocations: 12.88 kB / 1.11 GB, free: 9.387 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002088/1.386, allocations: 149.2 kB / 1.11 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/1.386, allocations: 0 / 1.11 GB, free: 9.293 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008593/1.387, allocations: 146.4 kB / 1.11 GB, free: 9.273 MB / 0.8731 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.0002916/1.387, allocations: 141.3 kB / 1.11 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002114/1.39, allocations: 0.876 MB / 1.111 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/1.39, allocations: 1.438 kB / 1.111 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005307/1.39, allocations: 253.1 kB / 1.111 GB, free: 8.793 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005893/1.391, allocations: 52.47 kB / 1.111 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/1.392, allocations: 0.6958 MB / 1.112 GB, free: 8.367 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/1.393, allocations: 0.7784 MB / 1.113 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006101/1.393, allocations: 181.1 kB / 1.113 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/1.394, allocations: 34.22 kB / 1.113 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of SimCode: time 6.62e-07/1.394, allocations: 0 / 1.113 GB, free: 7.617 MB / 0.8731 GB Notification: Performance of Templates: time 0.0147/1.408, allocations: 5.285 MB / 1.118 GB, free: 7.273 MB / 0.8731 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