Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.002106/0.002106, allocations: 104.5 kB / 16.27 MB, free: 6.414 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.002052/0.002053, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.548/1.548, allocations: 222.9 MB / 240.9 MB, free: 15.22 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 2.713/2.713, allocations: 437.1 MB / 0.7111 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 68.05 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3029, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004769/0.3077, allocations: 2.742 MB / 1.021 GB, free: 7.855 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00352/0.3113, allocations: 2.092 MB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.3114, allocations: 4 kB / 1.023 GB, free: 5.746 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008095/0.3123, allocations: 231 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005515/0.3129, allocations: 219 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007467/0.3136, allocations: 279.8 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003899/0.314, allocations: 315 kB / 1.024 GB, free: 4.723 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000345/0.3144, allocations: 158 kB / 1.024 GB, free: 4.562 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.3146, allocations: 119.6 kB / 1.024 GB, free: 4.445 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.3149, allocations: 159.5 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.227e-05/0.315, allocations: 20 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007066/0.3157, allocations: 411.2 kB / 1.025 GB, free: 3.867 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.3158, allocations: 95.78 kB / 1.025 GB, free: 3.773 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.3159, allocations: 119.4 kB / 1.025 GB, free: 3.656 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006828/0.3166, allocations: 486.9 kB / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3166, allocations: 0 / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3167, allocations: 0 / 1.025 GB, free: 3.18 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3167, allocations: 0 / 1.025 GB, free: 3.18 MB / 0.795 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.0009982/0.3177, allocations: 0.5499 MB / 1.026 GB, free: 2.582 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.3177, allocations: 16.91 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009862/0.3187, allocations: 128.5 kB / 1.026 GB, free: 2.441 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.3191, allocations: 257.9 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.3191, allocations: 16.8 kB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.3192, allocations: 24.06 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007316/0.3199, allocations: 390 kB / 1.027 GB, free: 1.703 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.3199, allocations: 7.875 kB / 1.027 GB, free: 1.695 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.32, allocations: 12 kB / 1.027 GB, free: 1.684 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.32, allocations: 23.98 kB / 1.027 GB, free: 1.66 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007816/0.3208, allocations: 379.6 kB / 1.027 GB, free: 1.289 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.3231, allocations: 1.749 MB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007964/0.3239, allocations: 361 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/0.3243, allocations: 191.6 kB / 1.029 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.3245, allocations: 93.09 kB / 1.029 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.3245, allocations: 34.56 kB / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/0.3245, allocations: 3.938 kB / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of matching and sorting (n=35): time 0.009136/0.3337, allocations: 2.044 MB / 1.031 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/0.3338, allocations: 85.11 kB / 1.031 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.334, allocations: 176 kB / 1.032 GB, free: 12.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.3341, allocations: 29.7 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.3342, allocations: 148.4 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/0.3343, allocations: 122.2 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.3345, allocations: 77.67 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.3347, allocations: 338.8 kB / 1.032 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006102/0.3353, allocations: 264.6 kB / 1.032 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006591/0.3359, allocations: 353.4 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.3372, allocations: 0.6195 MB / 1.033 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3373, allocations: 3.938 kB / 1.033 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001455/0.3387, allocations: 0.6581 MB / 1.034 GB, free: 9.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.3388, allocations: 8 kB / 1.034 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3388, allocations: 288 / 1.034 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.3388, allocations: 8 kB / 1.034 GB, free: 9.645 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009909/0.3398, allocations: 151.7 kB / 1.034 GB, free: 9.496 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.3398, allocations: 7.984 kB / 1.034 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.3403, allocations: 55.92 kB / 1.034 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/0.3404, allocations: 20 kB / 1.034 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007263/0.3411, allocations: 372.6 kB / 1.035 GB, free: 9.047 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006413/0.3418, allocations: 337.9 kB / 1.035 GB, free: 8.684 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00122/0.343, allocations: 0.6019 MB / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.328e-06/0.343, allocations: 4 kB / 1.036 GB, free: 8.047 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001437/0.3445, allocations: 0.6298 MB / 1.036 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3445, allocations: 8 kB / 1.036 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3445, allocations: 0 / 1.036 GB, free: 7.402 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.934e-06/0.3445, allocations: 4 kB / 1.036 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009424/0.3455, allocations: 152 kB / 1.036 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3455, allocations: 11.92 kB / 1.036 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004628/0.346, allocations: 51.92 kB / 1.036 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.346, allocations: 19.98 kB / 1.036 GB, free: 7.168 MB / 0.8106 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.0002319/0.3462, allocations: 205.4 kB / 1.037 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.335e-05/0.3463, allocations: 19.72 kB / 1.037 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001582/0.3479, allocations: 0.6882 MB / 1.037 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.348, allocations: 8 kB / 1.037 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.348, allocations: 0 / 1.037 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.348, allocations: 3.984 kB / 1.037 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002437/0.3504, allocations: 1.365 MB / 1.039 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.3505, allocations: 4 kB / 1.039 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.3511, allocations: 115.8 kB / 1.039 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.3511, allocations: 0 / 1.039 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.3511, allocations: 19.94 kB / 1.039 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.246e-05/0.3511, allocations: 16.11 kB / 1.039 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3512, allocations: 4 kB / 1.039 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001125/0.3523, allocations: 0.7086 MB / 1.04 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.3525, allocations: 136.8 kB / 1.04 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.939e-05/0.3525, allocations: 19.92 kB / 1.04 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003902/0.3529, allocations: 47.89 kB / 1.04 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.353, allocations: 31.95 kB / 1.04 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.666e-05/0.3531, allocations: 8 kB / 1.04 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002172/0.3533, allocations: 152.9 kB / 1.04 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3533, allocations: 0 / 1.04 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007086/0.354, allocations: 148 kB / 1.04 GB, free: 3.316 MB / 0.8106 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.0002634/0.3543, allocations: 147.1 kB / 1.04 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002/0.3563, allocations: 0.9099 MB / 1.041 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3563, allocations: 0 / 1.041 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005019/0.3568, allocations: 256.6 kB / 1.041 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.3574, allocations: 54.2 kB / 1.041 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.3588, allocations: 0.7414 MB / 1.042 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.3592, allocations: 0.7838 MB / 1.043 GB, free: 352 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.3594, allocations: 39.42 kB / 1.043 GB, free: 312 kB / 0.8106 GB Notification: Performance of SimCode: time 6.01e-07/0.3594, allocations: 0 / 1.043 GB, free: 312 kB / 0.8106 GB Notification: Performance of Templates: time 0.008613/0.3681, allocations: 4.933 MB / 1.048 GB, free: 11.39 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches