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.001496/0.001496, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.65/1.65, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.749/2.749, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 63.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9129/0.9144, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.004886/0.9194, allocations: 2.736 MB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003476/0.9229, allocations: 2.092 MB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.9231, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008575/0.924, allocations: 232.3 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00052/0.9245, allocations: 211.1 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007226/0.9252, allocations: 283.2 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003377/0.9256, allocations: 319 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003296/0.9259, allocations: 154 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.9261, allocations: 123.6 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.9264, allocations: 155.5 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.9264, allocations: 20 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006151/0.9271, allocations: 415.2 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.9272, allocations: 95.77 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.9273, allocations: 119.4 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006301/0.9279, allocations: 488.6 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.928, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.928, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.928, allocations: 0 / 1.024 GB, free: 11.08 MB / 0.7794 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.001131/0.9291, allocations: 0.5575 MB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.9292, allocations: 8.031 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.9302, allocations: 136.5 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.9306, allocations: 257 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.9306, allocations: 16.81 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.077e-05/0.9307, allocations: 20.12 kB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007819/0.9315, allocations: 401.9 kB / 1.026 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.9315, allocations: 3.938 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.758e-05/0.9316, allocations: 11.94 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-05/0.9316, allocations: 23.98 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007656/0.9324, allocations: 371.7 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002287/0.9347, allocations: 1.749 MB / 1.028 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007439/0.9355, allocations: 356.9 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.9358, allocations: 193.6 kB / 1.028 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.936, allocations: 93.03 kB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.936, allocations: 30.56 kB / 1.029 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=25): time 2.885e-06/0.936, allocations: 0 / 1.029 GB, free: 6.578 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35): time 0.00887/0.9449, allocations: 2.056 MB / 1.031 GB, free: 4.516 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.945, allocations: 81.11 kB / 1.031 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.9452, allocations: 183.7 kB / 1.031 GB, free: 4.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.9453, allocations: 33.7 kB / 1.031 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.9454, allocations: 148.4 kB / 1.031 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.9455, allocations: 118.2 kB / 1.031 GB, free: 3.926 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.9457, allocations: 81.67 kB / 1.031 GB, free: 3.84 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.9459, allocations: 330.8 kB / 1.032 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000653/0.9466, allocations: 264.7 kB / 1.032 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007358/0.9473, allocations: 353.4 kB / 1.032 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.9486, allocations: 0.619 MB / 1.033 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.9486, allocations: 7.938 kB / 1.033 GB, free: 2.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001385/0.95, allocations: 0.6543 MB / 1.033 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.9501, allocations: 10.03 kB / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.9501, allocations: 0 / 1.033 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.9501, allocations: 4 kB / 1.033 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009674/0.9511, allocations: 155.9 kB / 1.034 GB, free: 1.387 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.9511, allocations: 8 kB / 1.034 GB, free: 1.379 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004902/0.9516, allocations: 59.91 kB / 1.034 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.9517, allocations: 12 kB / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007145/0.9524, allocations: 371.9 kB / 1.034 GB, free: 0.9414 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006724/0.9531, allocations: 333.9 kB / 1.034 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001116/0.9542, allocations: 0.5941 MB / 1.035 GB, free: 15.96 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.935e-06/0.9542, allocations: 3.938 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001291/0.9555, allocations: 0.6417 MB / 1.035 GB, free: 15.3 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.9555, allocations: 7.938 kB / 1.035 GB, free: 15.3 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.9555, allocations: 4 kB / 1.035 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.971e-06/0.9556, allocations: 4 kB / 1.036 GB, free: 15.29 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008756/0.9564, allocations: 143.8 kB / 1.036 GB, free: 15.15 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.9565, allocations: 7.938 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004611/0.9569, allocations: 63.98 kB / 1.036 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-05/0.957, allocations: 16 kB / 1.036 GB, free: 15.06 MB / 0.795 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.0001859/0.9572, allocations: 200.1 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.9573, allocations: 23.72 kB / 1.036 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.9587, allocations: 0.6882 MB / 1.037 GB, free: 14.14 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.9587, allocations: 7.938 kB / 1.037 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.9588, allocations: 0 / 1.037 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/0.9588, allocations: 7.984 kB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002284/0.9611, allocations: 1.36 MB / 1.038 GB, free: 12.66 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.9611, allocations: 4.25 kB / 1.038 GB, free: 12.66 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/0.9616, allocations: 115.8 kB / 1.038 GB, free: 12.55 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.9617, allocations: 4 kB / 1.038 GB, free: 12.54 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.9617, allocations: 12 kB / 1.038 GB, free: 12.53 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.9617, allocations: 7.938 kB / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.9617, allocations: 11.92 kB / 1.038 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.9628, allocations: 0.7073 MB / 1.039 GB, free: 11.77 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.963, allocations: 136.8 kB / 1.039 GB, free: 11.61 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.889e-05/0.963, allocations: 11.98 kB / 1.039 GB, free: 11.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.9634, allocations: 39.89 kB / 1.039 GB, free: 11.56 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.75e-05/0.9635, allocations: 31.95 kB / 1.039 GB, free: 11.53 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.9636, allocations: 12 kB / 1.039 GB, free: 11.52 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000188/0.9638, allocations: 152.3 kB / 1.039 GB, free: 11.37 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9638, allocations: 0 / 1.039 GB, free: 11.37 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006726/0.9644, allocations: 152 kB / 1.039 GB, free: 11.22 MB / 0.795 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.0002495/0.9647, allocations: 139.1 kB / 1.039 GB, free: 11.08 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001905/0.9666, allocations: 0.9147 MB / 1.04 GB, free: 10.16 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.9666, allocations: 4.062 kB / 1.04 GB, free: 10.16 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0004589/0.9671, allocations: 259.9 kB / 1.041 GB, free: 9.906 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005288/0.9676, allocations: 51.73 kB / 1.041 GB, free: 9.859 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.969, allocations: 0.717 MB / 1.041 GB, free: 9.094 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004597/0.9695, allocations: 0.7799 MB / 1.042 GB, free: 8.289 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005932/0.9701, allocations: 174.8 kB / 1.042 GB, free: 8.117 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.9702, allocations: 31.42 kB / 1.042 GB, free: 8.086 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/0.9702, allocations: 0 / 1.042 GB, free: 8.086 MB / 0.795 GB Notification: Performance of Templates: time 0.01066/0.9809, allocations: 5.201 MB / 1.047 GB, free: 2.91 MB / 0.795 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=480 -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/jenkins/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